[Nickle] string_to_integer() should raise an exception?

Bart Massey bart at bart
Sun Jun 1 21:27:26 PDT 2003

Shouldn't string_to_integer() raise an exception rather than
silently throwing away bogus characters?  I think
string_to_integer("0f") is a mistake, and should be flagged.

BTW, I've added atoi() and atof() as synonyms for
string_to_real() and string_to_integer().  I couldn't stand
it anymore...


More information about the Nickle mailing list