LC sure has a flexible syntax

Anything beyond the basics in using the LiveCode language. Share your handlers, functions and magic here.

Moderators: Klaus, FourthWorld, heatherlaine, kevinmiller, robinmiller

Post Reply
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 7441
Joined: Wed May 06, 2009 2:28 pm
Location: New York, NY

LC sure has a flexible syntax

Post by dunbarx » Mon Sep 21, 2015 11:35 pm

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

Post Reply

Return to “Talking LiveCode”