Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: What is wrong with this script?



on 30/11/2003 09:14, Michelle Steiner at email@hidden wrote:

> On Nov 29, 2003, at 12:11 PM, Christopher Nebel wrote:
>
>>> Try using a semicolon instead of the return.
>>
>> 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.

--
Matthew Smith
_______________________________________________
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.

References: 
 >Re: What is wrong with this script? (From: Michelle Steiner <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.