Just want to clarify a little bit : C99 allows to declare local variables anywhere. CW compiler just does not support this.
Sure it does... just use "#pragma c9x on" or turn on the "Enable C99 Extensions" switch in the C/C++ Language panel. The CW for Palm OS V9 compiler isn't C99 by default, but it can be configured to support most of the C99 standard.
-- Ben Combee, senior DTS engineer, PalmSource, Inc. Read "Combee on Palm OS" at http://palmos.combee.net/
-- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
