Creates a variable on the$MAIN$ program level and binds a local variable to it.
PRO test_addvar
ADDVAR, 'sclvar', local
local = 1.2345
local = local + 1.
PRINT, local
END
WAVE
prompt, do the following:
test_advar INFO, /Traceback
% At $MAIN$.
INFO, /Variables
SCLVAR FLOAT = 2.23450