Offset function
Robert Presender
rpresender at earthlink.net
Sun Sep 15 12:35:01 EDT 2002
On Sunday, September 15, 2002, at 07:53 AM, Jeanne wrote:
snip
> The overall rule of thumb is that it is always best practice to quote
> literal strings. If a string is a single word, is not a reserved
> Transcript
> word, and is not defined as a variable or constant anywhere, you can
> often
> (not in all contexts) get away with not quoting it. The example you
> give is
> one such context, basically because it's easy to parse the offset
> function
> unambiguously.
>
> But it's always a better idea to use quotes, both stylistically
> (because it
> makes it clear that this is a literal string) and practically (because
> if
> you develop a sloppy habit in this area, it's easy to forget to quote
> when
> it does matter - and sometimes bugs introduced in this way aren't
> especially easy to find).
>
Thanks Jeanne. Very well put.
Regards ... Bob
More information about the use-livecode
mailing list