Re: What is wrong with this script?
Re: What is wrong with this script?
- Subject: Re: What is wrong with this script?
- From: Michelle Steiner <email@hidden>
- Date: Sat, 29 Nov 2003 15:52:02 -0700
On Nov 29, 2003, at 3:43 PM, Matthew Smith wrote:
Or a linefeed (aka "ASCII character 10"). "return" is ASCII 13,
which
is effectively a space as far as most shell tools are concerned.
Would a semicolon break anything down the line? If not, it's easier
than using the linefeed.
The semicolon is used in unix shells to identify the end of a command
and
the start of a new one on the same line. In fact the semicolon will
only
execute the command following it if the command before it was
successful. If
it errors then the second command is not executed.
Thanks. In this case, then a semicolon is better because if the terms
for the effects change in future versions of the OS, the first line
will break and there will be no need for the second to execute.
--
"There's some good in the world, Mr. Frodo, and it's worth fighting
for."
_______________________________________________
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.