Yes, if you declare a variable static, then it will be local to the particular 
file where it was declared.  In other words, if you have "static char myvar" in 
3 separate source files, they are actually 3 different variables for link 
purposes.

I would look carefully through my source files, and make sure that I wasn't 
declaring RetailID someplace else, besides the header file.  Maybe that's the 
source of the redefinition.

If that doesn't turn up anything, maybe you could post your .h file here.  Good 
luck!
-- 
For information on using the Palm Developer Forums, or to unsubscribe, please 
see http://www.palmos.com/dev/support/forums/

Reply via email to