"If your program is already the "foreground" task  when you get the alarm,
then you have globals."

yep it always will be.  so in this case I can just put a case in the switch
statement of pilotMain and code as usual, switching forms, etc without
worrying?

"Once you understand launch codes, which are a powerful aspect to Palm OS
programs, this should not be a big deal.   Look at the sample source code
> for programs that handle alarms."

Would you mind passing along a link or resource that might be good to read
for this?  The receipes didn't say much.  I understand how the actual code
is supposed to look but there are certain issues that I'd like to read more
about.  For instance, when an alarm is received by an application while that
application is currently running, does the program counter simply jump
immediately to the first line of PilotMain?  What if the application is
currently mid-task?  What if it might or might not be mid-task?  or does it
do something other than simply jump to main?  I would like to read more
about this sort of thing and am not sure where to look...

thank you very much!
meg



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

Reply via email to