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. |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
Contents of variables erased by entering editor. - veeblefester - 01-07-2014 09:22 PM
RE: Contents of variables erased by entering editor. - Michael de Estrada - 01-07-2014, 11:04 PM
RE: Contents of variables erased by entering editor. - veeblefester - 01-07-2014, 11:33 PM
RE: Contents of variables erased by entering editor. - Michael de Estrada - 01-07-2014, 11:52 PM
RE: Contents of variables erased by entering editor. - veeblefester - 01-08-2014, 12:19 AM
RE: Contents of variables erased by entering editor. - Han - 01-08-2014, 01:59 AM
RE: Contents of variables erased by entering editor. - Tim Wessman - 01-08-2014, 01:56 AM
RE: Contents of variables erased by entering editor. - veeblefester - 01-08-2014, 08:37 PM
RE: Contents of variables erased by entering editor. - Michael de Estrada - 01-08-2014, 10:03 PM
|
User(s) browsing this thread: 1 Guest(s)