Anything beyond the basics in using the LiveCode language. Share your handlers, functions and magic here.
Moderators: Klaus, FourthWorld, heatherlaine, kevinmiller, robinmiller
- VIP Livecode Opensource Backer
- Posts: 7414
- Joined: Wed May 06, 2009 2:28 pm
- Location: New York, NY
I would have bet this would have thrown errors. In a button script, with a field on the card:
Code: Select all
put random(99)into fld 1 --"(99)into"
set the textSize of fld 1to random(99) --"1to"
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.