/[ascend]/trunk/models/johnpye/datareader/dr.c
ViewVC logotype

Diff of /trunk/models/johnpye/datareader/dr.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2504 by jpye, Sat Oct 1 06:18:31 2011 UTC revision 2505 by jpye, Sat Oct 1 10:31:24 2011 UTC
# Line 139  int datareader_set_parameters(DataReader Line 139  int datareader_set_parameters(DataReader
139              if (d->cols[parcount] > d->nmaxoutputs) {              if (d->cols[parcount] > d->nmaxoutputs) {
140                  CONSOLE_DEBUG("col %d, max %d",d->cols[parcount],d->nmaxoutputs);                  CONSOLE_DEBUG("col %d, max %d",d->cols[parcount],d->nmaxoutputs);
141                  ERROR_REPORTER_HERE(ASC_USER_ERROR,                  ERROR_REPORTER_HERE(ASC_USER_ERROR,
142                  "Requested Column out of range!,check your data file and model declaration");                  "Requested column %d out of range (limit %d). Check your data file and model declaration",d->cols[parcount],d->nmaxoutputs);
143                  return 1; //failed due to column out of range                  return 1; //failed due to column out of range
144              }              }
145              LastTokWasNumeric =TRUE; //keep track of numeric tokens              LastTokWasNumeric =TRUE; //keep track of numeric tokens

Legend:
Removed from v.2504  
changed lines
  Added in v.2505

john.pye@anu.edu.au
ViewVC Help
Powered by ViewVC 1.1.22