Globals from the message box
J. Landman Gay
jacque at hyperactivesw.com
Mon Nov 28 22:06:58 EST 2011
On 11/28/11 6:41 PM, Bob Sneidar wrote:
> Got it. What an interesting quirk though that if you do re-declare
> them, they always resolve to true!
It's the same thing that came up a week or so ago. Getting anything in
the message box returns a boolean, which tells you if the command
succeeded. If you want to get the value, you have to "put" it.
get the date -> true
put the date -> 11/28/11
> Also, re-declaring them in the multiline message box has no adverse effect.
It feels like the multi-line is compiled like a script, but the
single-line is sent directly to the engine. Just guessing.
--
Jacqueline Landman Gay | jacque at hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
More information about the use-livecode
mailing list