[EMAIL PROTECTED]>
Sent: Friday, May 28, 2004 8:19 AM
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 &
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 "Resul
--- [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
> numbe
al Message -
From: Chipp Walters <[EMAIL PROTECTED]>
Date: Friday, 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
>
I'm trying to programatically set the numberFormat property.
on mouseUp
repeat 4 times
put "#" after t
end repeat
put "set the numberFormat to " "e& t "e 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
en