Hi,
Thanks all for your suggestions..
And thanks very much Joseph for that clarification. But, Does that depend
anyway on whether you use _request(foo) or _request(_ foo)
See below,
1. with _request(foo)
. display in smcl as input "Enter value for foo: " _request(foo)
Enter value for foo: . n
. display in smcl as text "local " as result "`foo'"
local
. display in smcl as text "global " as result "$foo"
global n
.
end of do-file
2. with _request(_foo)
[...]
. display in smcl as input "Enter value for foo: " _request(_foo)
Enter value for foo: . m
. display in smcl as text "local " as result "`foo'"
local m
. display in smcl as text "global " as result "$foo"
global n
[...]
You have discovered that a global macro that begins with an
underscore is a local. That is documented in [P] macro.