Re: "a reference to"
Re: "a reference to"
- Subject: Re: "a reference to"
- From: Christopher Nebel <email@hidden>
- Date: Mon, 21 Jan 2008 12:42:33 -0800
On Jan 19, 2008, at 2:45 AM, Brennan wrote:
Ever since I learned a little LISP, I usually put parentheses around
expressions in AppleScript, especially those which contain spaces.
As a result I almost never have problems with a missing 'get'. If it
does
happen, it can almost always be resolved with adding more carefully
placed
parentheses, such as;
set dr to (display dialog (name of (info for (choose file))))
I have no clue which of those parentheses are strictly necessary,
but I
find the code easier to read, easier to debug, and, because I am
constantly reminded which terminology belongs together, easier to
edit.
My version of that trick is to change the AppleScript formatting
styles so that "application keywords" are underlined. The space gets
underlined, too, so you can see which words go together.
--Chris Nebel
AppleScript Engineering
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden