> As a new palm developer coming from the Windows environment I find not
> having global variables a real problem. Does anyone have a work around
> for variables that are required by several procedures?
ok.. i wont flame you :)
i dont like the use of global variables - so i dont use them.
what i do, is create a dynamic memory chunk, store a reference
to it in a feature, and when i need it - i get the feature
to retrieve the pointer to the globals chunk.
when i terminate the program, i free the memory chunk.
its a great workaround to have global variables accessable in
multiple segments in prc-tools :) to see how i do it, check
out the sources to Cube3D/Burning/Toggle on my website
// az
[EMAIL PROTECTED]
http://www.ardiri.com/ <--- free games!
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/