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... Bart