Expression calculations in message box

Alex Tweedly alex at
Tue Feb 1 20:18:05 EST 2005

Open a new Runrev session.
Open the message box (single line)
Type into it
   put 1 into m; put ((m)+9)

What value should appear ?
I expected 10 - but I actually get 1

If I put a space between the two "("s - i.e.  
   put 1 into m; put ( (m)+9)
then I do indeed get 10.

Don't see the same problem when using the multi-line message box - but 
this is baffling me.
Is there something special about the message box that would explain this 
anomaly ?
Or is there something non-obvious (to me) about this expression ?


Alex Tweedly

No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.300 / Virus Database: 265.7.6 - Release Date: 27/01/2005

More information about the use-livecode mailing list