12-08-2009 03:52 PM - edited 12-08-2009 03:53 PM
"-0123456789" is not a number with a negative sign.
It is a group of characters allowed in a string representation of a number.
edit: Roberto already explained that above.
12-08-2009 03:53 PM
ok Im encounter another error for whitespcace, going to the next line of the code or next the line in the script file.
DAS, FILE, C:\\ ***********first line is good
DAS, FRAMES, 1w ************second line is bad,so there should be a revomewhitespace function.
I need that function so that when i go to each line, i can remove the white space and then call the test below, because NumFmtdBytes
doesnt count the last white space going between of from end of the line to the beginning of the next line in the function.
iErrorFlag=NumFmtdBytes();
if (NumFmtdBytes() < strlen (sCmd))
12-08-2009 03:57 PM
12-08-2009 03:57 PM
and what does that have to do with the subject "sscanf and isdigit" ?!
besides, once again, what error did you encounter, what does "first line ise good" or "second line is bad" mean?