In an MQNext macro, I declare a user-defined variable as: /declare foo string global value
Then in a Lua script, how would i retrieve the value of foo?
In the MacroScript to Lua 0.2 guide, 5c. Mixing Lua and Macro, I tried value = mq.TLO.Macro.Variable('foo')(), but that always returns nil
Then in a Lua script, how would i retrieve the value of foo?
In the MacroScript to Lua 0.2 guide, 5c. Mixing Lua and Macro, I tried value = mq.TLO.Macro.Variable('foo')(), but that always returns nil

