--- "Matt Disher (TiBook)" <[EMAIL PROTECTED]> wrote:
> try:
> StrCopy(text, "Hello");
> Int32 int = StrAToI(text);

For the record: no, don't try that.  (Or, try it if you like and see
what happens.)

First, as others have already mentioned, "Hello" is not something that
StrAToI() can turn into an integer.  The input to StrAToI() should be a
Char * that can be interpreted as an integer.  (E.g., "42")

Second, int is a defined data type, a reserved keyword in C.  So you
can't use it as a variable name.

However, you did get the Int32 right.


__________________________________________________
Do You Yahoo!?
Yahoo! Movies - coverage of the 74th Academy Awards�
http://movies.yahoo.com/

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to