Post Reply 
Contents of variables erased by entering editor.
01-07-2014, 09:22 PM
Post: #1
Contents of variables erased by entering editor.
When the program below is executed it prints
'TESTVAR contains xyz'

After entering and exiting the editor with or without doing anything, all of a program's global variables contents are set to ZERO!!!

The program now prints
'TESTVAR contains 0.00'

This happens with the editor in the Virtual Prime or in the Connectivity Kit.

Someone tell me I am doing something wrong or that this is a flaw in the Prime.

TESTVAR is located in Var > [/i][/b] User > Program Variables > Variable Content

Thanks in advance for any help.

EXPORT TESTVAR;// TESTVAR contains xyz
EXPORT Variable_Content()
BEGIN
PRINT();// Clear the terminal display
PRINT("TESTVAR contains "+TESTVAR);// Print the
// contents of the global variable TESTVAR
END;

Happy coding and may you see ' i No errors in the program ' with every compilation.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Contents of variables erased by entering editor. - veeblefester - 01-07-2014 09:22 PM



User(s) browsing this thread: 1 Guest(s)