NumberFormat is a local property, not global, like the itemdelimiter. The do
command has it's own context.

Tuviah


----- Original Message -----
From: "Chipp Walters" <[EMAIL PROTECTED]>
To: "Use-Revolution" <[EMAIL PROTECTED]>; "tuviah snyder"
<[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 " &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 mouseUp
>
> It puts the expected "0006"
>
> Any ideas why??
>

_______________________________________________
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to