Strict compilation mode

Peter Haworth pete at lcsql.com
Fri Oct 4 18:28:47 CEST 2013


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


More information about the use-livecode mailing list