declaring variables

Ralph DiMola rdimola at evergreeninfo.net
Wed Nov 21 13:35:53 EST 2012


Turn off "Strict Compilation" mode in the prefs and you will see the old
behavior.

Ralph DiMola
IT Director
Evergreen Information Services
rdimola at evergreeninfo.net


-----Original Message-----
From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf
Of Ronald Zellner
Sent: Wednesday, November 21, 2012 1:33 PM
To: use-livecode at lists.runrev.com
Subject: declaring variables

I was using the code that was recently presented for--   Re: Sharing a
little stack (Michael Kristensen).

When I copied the code and clicked the Apply button, the LC editor
repeatedly would not let me use a variable unless I first entered it in the
list of Local variables.
I have seen this before when using code and when opening and editing older
stacks.

Also, lines like
    put fld Thicknes into T 
 had to be changed by adding quotes to 
    put fld "Thicknes" into T

before the script could be applied.

I assume it worked for Michael as presented.  
Is this something that can be ignored, or do I have some setting wrong in my
LC?

Thanks,

Ron
_______________________________________________
use-livecode mailing list
use-livecode at lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode





More information about the use-livecode mailing list