Strict compilation mode
Ralph DiMola
rdimola at evergreeninfo.net
Fri Oct 4 12:43:58 EDT 2013
I totally agree.
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 Peter Haworth
Sent: Friday, October 04, 2013 12:29 PM
To: How to use LiveCode
Subject: Strict compilation mode
I'm a big fan of strict compilation mode. I know others don't see the need
for it but I like how it protects me from myself by catching misspelled
variable names and forcing me to put quotes around literals.
Every now and again I download a utility stack that someone has provided
which was created with scm off. If I want to customize its scripts, I have
to switch scm off or define all the variables/quote all the literals. The
latter is a big pain (although I have a script that does it for me), and the
former risks forgetting to switch scm on again.
As far as I know, there's no other way round this (?) Seems like it would be
useful to have a stack property that switched scm on or off for all the
scripts in the stack with the default being the prefs setting.
Pete
lcSQL Software
_______________________________________________
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