Explicit Variables again
pete at lcsql.com
Fri Oct 19 20:41:29 EDT 2012
Thanks Jacque, I plan to give this a whirl. This seems to
have usefulness whether explicit vars are in force or not.
By the way, what are the shortcuts for commenting? I haven't come across
Having stirred up a hornet's nest with this issue, I think I will refrain
form starting another storm regarding code commenting :-)
lcSQL Software <http://www.lcsql.com>
On Fri, Oct 19, 2012 at 5:15 PM, J. Landman Gay <jacque at hyperactivesw.com>wrote:
> On 10/19/12 6:11 PM, Peter Haworth wrote:
>> You got it! Thanks for the script also (and Jacque). I have to admit I'm
>> not entirely sure of all the benefits of it but I'm sure they'll come
>> though when I give it a try.
> Mine is much simpler than the one Peter posted, he's added some stuff.
> I've never had any trouble with commenting using the IDE shortcuts, for
> example, so I don't have that in there.
> But I use the quotes and parentheses and scriptpaint parts all the time.
> For example, you type this and find out it doesn't parse right:
> put the short name of cd i and cr after tList
> and realize you need to force evaulation by putting parentheses around
> "the short name of cd i" -- so you hilite it and type Cmd-Shift-9 (or 0,
> either one) and it's done. Same for quotes.
> More than anything I use the scriptpaint feature, which I admit wasn't my
> own idea but I can't remember now where I got it. Instead of typing a
> variable name, just point at it in some other part of the script and type
> Cmd-Shift-space. In it goes. Works for a selection too; it will replace
> your selection with the word you're pointing to. I have managed to teach my
> left hand to hit all three keys at once without tearing any tendons.
> Jacqueline Landman Gay | jacque at hyperactivesw.com
> HyperActive Software | http://www.hyperactivesw.com
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
More information about the Use-livecode