get_variable (var: VARIANT): INTEGER
Retrieve the value of the variable corresponding to var. You can use this function to get the value of a variable without a reference to it.
Note: this function should really take a STRING and return a STRING
set_variable
script functions
Script Engine
script get_unnamed_variable is section5_grade := 56 name := 'section' section := 5 varname := name . str (section) . '_grade' grade := get_variable (varname) -- 'grade' now holds 56 end script b is message ('called script b', Message_info) end