Re: SE2b GUI comments->Abbreviations!
Re: SE2b GUI comments->Abbreviations!
- Subject: Re: SE2b GUI comments->Abbreviations!
- From: has <email@hidden>
- Date: Thu, 23 Jan 2003 02:33:36 +0000
Philippe GRUCHET wrote:
There could be a trade-off here, Philippe. I imagine the longer
this list of synonyms, the fewer options we'd have for
variable/handler names. (Rightly or wrongly, I've used quite a few
of those abbreviations in my scripts.)
Sorry for the ambiguity.
What I mean about abbreviations is keywords as they can be
optionally typed before checking the syntax, and not at all as a
list of new synonyms.
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.
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..
has
--
http://www.barple.pwp.blueyonder.co.uk -- The Little Page of AppleScripts
_______________________________________________
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.