Re: SE2b GUI comments->Abbreviations!
Re: SE2b GUI comments->Abbreviations!
- Subject: Re: SE2b GUI comments->Abbreviations!
- From: Philippe GRUCHET <email@hidden>
- Date: Thu, 23 Jan 2003 16:59:30 +0100
From: Kai <email@hidden>
the longer this list of synonyms, the fewer options we'd have for
variable/handler names.
From: me
Well, a good trade-off could be a dozen of abbreviations instead of 1.
Just a little example:
tell app "Finder" to act
-- when checking the syntax, keywords are expanded:
tell application "Finder" to activate
I don't think that a such list of abbreviations would reduce the
variable/handler names options.
From: has <email@hidden>
Unfortunately, it would. For example: I hand you some source code
containing the following line and you hit 'compile':
set res to ASCII number char
-->
set result to ASCII number character
Definitely not what you want - compile-time expansion (e.g.
'app'->'application') still ends up polluting the namespace. Any
expansion has to happen as you type new code; that's the only point
you can specify if you want the machine's version of what it thinks
you want or not..
Well, I've a mixed feeling about that...but I understand that it could
be a problem, particularly for long scripts with many variable/handler
names!
Okay, I continue to use my own script that:
a) reads a tab text of typed abbreviations for replacements
b) sends the 'check syntax' command
It saves me a lot of time, however :-)
Kind regards,
Philippe Gruchet/SVM Mac
VNU Publications France
http://svmmac.vnunet.fr
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.