No semiColons need apply

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

No semiColons need apply

Put this in a button script. You need a field as well:

on mouseUp
   put random(99) into fld 1  wait 10   answer "whew" wait 10 put random(99)  into fld 1 wait 10 put random(99) * 2.4545656467 into fld 1  wait 10 put fld 1 ^ 3 into fld 1
end mouseUp

Works fine. LC seems to know just what you are thinking, and does not need no stinking returns or semicolons. I would not have thought it would even compile.