curious behavior...

T. R. Ponn alptex2 at orwell.net
Fri May 28 10:30:16 EDT 2004


Chipp,

This seems to work ok...without the "Do"

on mouseUp
  repeat 4 times
    put "#" after t
  end repeat
  set the numberFormat to t
  put 5+1
end mouseUp

Best Regards,

Tim Ponn


Chipp Walters wrote:

> 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
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
>




More information about the use-livecode mailing list