Re: [fpc-pascal] Something like "Is a number"?

2005-07-08 Thread John Coppens
On Fri, 08 Jul 2005 16:39:05 +0200 Thomas Zastrow <[EMAIL PROTECTED]> wrote: > Hello, > > I'm converting some strings with "strtoint" into integers. But > sometimes the string can't be converted to a number. Is there a > function which takes a string and tells me if it is possible or not to > con

[fpc-pascal] Something like "Is a number"?

2005-07-08 Thread Thomas Zastrow
Hello, I'm converting some strings with "strtoint" into integers. But sometimes the string can't be converted to a number. Is there a function which takes a string and tells me if it is possible or not to convert it into a number? Something like "IsANumber(string)" Thank you very much! Gree