HP Forums
another app bug (possibly a dupe) - Printable Version

+- HP Forums (https://archived.hpcalc.org/museumforum)
+-- Forum: HP Museum Forums (https://archived.hpcalc.org/museumforum/forum-1.html)
+--- Forum: Old HP Forum Archives (https://archived.hpcalc.org/museumforum/forum-2.html)
+--- Thread: another app bug (possibly a dupe) (/thread-252036.html)



another app bug (possibly a dupe) - Han - 10-02-2013

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.