Re: Go To Commands (AppleScript)
Re: Go To Commands (AppleScript)
- Subject: Re: Go To Commands (AppleScript)
- From: Paul Berkowitz <email@hidden>
- Date: Thu, 18 Jul 2002 12:27:55 -0700
On 7/18/02 11:49 AM, "email@hidden" <email@hidden> wrote:
>
Meanwhile, you probably want to look at the use of handlers instead of GoTo's
>
for your purposes:
>
if x=45 then
>
my LabelBlue
>
end if
>
>
which may be able to be written as simply as (I think):
>
if x=45 then my LabelBlue
Oops, you forgot the parentheses, Marc.
if x=45 then
my LabelBlue()
end if
which can be written
if x=45 then my LabelBlue()
but here you would want:
if x > 45 then
my LabelBlue()
else if x=45 then
my Line520()
else if x< 45 and x > 0 then
my Destination1()
else
my Destination2()
end if
--
Paul Berkowitz
_______________________________________________
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.