MD> The screen control (@ GET) calls a procedure, which conditionally
MD> calls another procedure to do the specific work in each case. When
MD> the working procedure tries to reference the global variable, the
MD> procedure works the first time it is entered- but the second time the
MD> procedure is called, the program halts because the variable (my public
MD> constant) cannot be found. Debug shows no value just after control
MD> passes to the procedure (the second time)
How are those 18 variables named?
Do you use PRIVATE anywhere in your snippets or other procedures? If so, what
syntax do you use, "PRIVATE ALL LIKE ", "PRIVATE ALL EXCEPT
", or "PRIVATE ALL"?
MD> Is there a scoping restriction that makes variables available
MD> only to immediate child procedures, but not grandchildren?
No.
--- GoldED 2.50+
---------------
* Origin: Point of View (1:167/133.100)
|