If you download a compiled application using the maintenance tool and go to run mode, variables will all be initialized with a zero regardless of any initial value you are assigning in the code.

Current Work Around:
After a download do a 'Reset Cold' with teh maintenance tool to initialize the variables.