Re: Expression calculations in message box

2005-02-03 Thread Alex Tweedly
Jim Hurley wrote: There used (Run Rev 1.1) to be significant differences between the behavior of message box commands and the same commands executed in other controls--buttons for example. Even in your case-- put 1 into m; put ((m)+9)-- will give 10 if executed in a button handler. But, on the

Re: Expression calculations in message box

2005-02-02 Thread Jim Hurley
AlexTweedy wrote: 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 t

Re: Expression calculations in message box

2005-02-01 Thread Jim Lyons
Wow, that's a good one. Verified on Rev 2.5, OS 10.3. I have seen some serious wonkiness before in the message box handling of expressions. I remember I had to put an expression involving arrays into a handler in the stack I was working on and invoke that to evaluate it correctly; I was quite su

Expression calculations in message box

2005-02-01 Thread Alex Tweedly
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 whe