> From: Craig Austin [mailto:[EMAIL PROTECTED]]
> When declaring variables on the stack, does PalmOS 3.3
> initialize differently than the other Palm3.x OS versions? 

Stack memory is never initialized for you.  This is how C/C++ works, having
nothing to do with the operating system.  So uninitialized stack variables
contain garbage.  If your return value was never initialized then you
probably just got lucky that the garbage on some systems happened to be
zero.

-slj-


-- 
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