Page 1 of 1

LC sure has a flexible syntax

Posted: Mon Sep 21, 2015 11:35 pm
by dunbarx
I would have bet this would have thrown errors. In a button script, with a field on the card:

Code: Select all

on mouseUp
   put random(99)into fld 1 --"(99)into"
   wait 30
   set the textSize of fld 1to random(99) --"1to"
end mouseUp
I expected the first line to work, because I know how forgiving LC is. I was surprised at the last line. HC does just as well.

Craig Newman