From: "Carl Smith" <[EMAIL PROTECTED]>
Subject: illegal token when initializing structure.


> What happens is at Item c2 I get a "Error : illegal token" from Code
> Warrior. If I remove the leading 0 from the 010018 variable it compiles
> fine. I've also found out that if you use any number below 8, at the end,
> such as 010017 and below, it also compiles find, but using 8 or 9 I get
the
> above mentioned error.
> Any ideas why it falls apart with the leading 0 infront of the 8 or 9?

I must admit that C is not my preferred language, so I could be suffering
from a lapse of memory, but isn't a number preceded by 0 interpreted as
octal by C compilers?  That would definitely explain why 8 and 9 are
invalid.




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

Reply via email to