Another newb question - How to you clear a field?
Scott Rossi
scott at tactilemedia.com
Fri May 8 14:50:05 EDT 2009
Recently, J. Landman Gay wrote:
> if literal
> names are not quoted, the engine takes twice as long to execute the
> statement because of the additional lookup.
Jacque, is this really true? I've developed a construction/coding style
over the years of naming card objects with an underscore ( _coolfield ) and
using quotes only for messages ( send "nextMessage" to me in 50 millisecs )
and anything else that *must* be literal ( dynamic object names: field
"_cool" & tNum ). I just prefer the appearance of the code -- it's fewer
characters and makes the code more readable to me. But if it is true that
execution takes longer when referencing object names without quotes, then
this would be a good reason to get back into quoting the names.
Regards,
Scott Rossi
Creative Director
Tactile Media, Multimedia & Design
More information about the use-livecode
mailing list