10-02-2013, 10:12 PM
When replacing the NumSetup() function with
NumSetup()
BEGIN
local grid;grid:=grid3D; // grid3D is global
if input(grid,"Title","Grid=","Help text",grid3D) then
... blah ...
end;
grid3D:=grid;END;
I will sometimes have corrupt values of grid3D. Most of the time, grid3D contains 'd3D' if just type grid3D on the command line. A few times it will contain pure garbage characters. I am not sure if this is at all related to previous app issues, though.
Also, having NumSetup() call a function (i.e. keep NumSetup at a bare minimum in size) does not seem to help.