At 07:49 AM 2002-11-20 -0800, you wrote:
Hello,

I was wondering if there is a way of passing variables
between different forms? Or are globals the only
solution?
I use globals, but they are static in the module they belong so other modules cannot access them.
I always have .h anc .c per form. I provide a set of functions to get & set them (very much like classes & methods in OO , but still using C) or a function in the form module that takes a couple of arguments. This func then sets the static globals and opens the form, etc.







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

Reply via email to