Re: curious behavior...

2004-06-02 Thread tuviah snyder
: curious behavior... I'm trying to programatically set the numberFormat property. on mouseUp repeat 4 times put # after t end repeat put set the numberFormat to quote t quote into tDo do tDo put 5+1 end mouseUp puts just 6 in the msg now if I try: on mouseUp

Re: curious behavior...

2004-05-29 Thread jcwall
, May 28, 2004 3:19 pm Subject: curious behavior... I'm trying to programatically set the numberFormat property. on mouseUp repeat 4 times put # after t end repeat put set the numberFormat to quote t quote into tDo do tDo put 5+1 end mouseUp puts just 6 in the msg now

Re: curious behavior...

2004-05-29 Thread Jan Schenkel
--- [EMAIL PROTECTED] wrote: Slightly off topic but to do with numberFormat. I have had some difficulties with this property which I have managed to get around. I needed to do some calculations and enter the result in a field limiting the number to two decimal places. Set the

Re: curious behavior...

2004-05-29 Thread jcwall
Dear Jan, Thanks for the tip. It is certainly a lot simpler and far more elegant than my solution. I wonder how you would deal with a script that includes a repeat loop that does something like the following: put 1 into i repeat 3 put ETGUG i into x put x into fld i of cd Results

curious behavior...

2004-05-28 Thread Chipp Walters
I'm trying to programatically set the numberFormat property. on mouseUp repeat 4 times put # after t end repeat put set the numberFormat to quote t quote into tDo do tDo put 5+1 end mouseUp puts just 6 in the msg now if I try: on mouseUp set the numberFormat to put 5+1 end