At 5:54 PM -0600 3/26/02, Carmen Sandiego wrote:
>StrCopy(text, "Hello");
>Int32 int = StrAToI(text);
>Try a string that reads like a number?
>
>Well, it works if I only use numbers, but is there a way to convert a string
>(alpha characters) to an integer?
What result is it that you're expecting, Carmen?
What is the value you would like to see returned in your Int32?
Or are you looking for something like
StrAToI("one hundred twenty five") ==> 125
StrAToI("zehn") ==> 10
If so, I have some LISP samples around here somewhere I could send
you; porting CMU's Lisp to PalmOS shouldn't be that difficult. SMOP.
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/