Re: GoTos?
Re: GoTos?
- Subject: Re: GoTos?
- From: email@hidden (Michael Sullivan)
- Date: Thu, 18 Jul 2002 13:35:50 -0400
- Organization: Society for the Incurably Pompous
email@hidden (Dave DeLong) writes:
>
Are there such things as "go to" in AppleScript? I'm thinking of writing a
>
game that requires such things.
>
For any of you familiar with the language of the TI graphing calculator,
>
think of labels and the goto command.
It is impossible to imagine that there is no way to restructure your
program using only the controls that applescript allows. Doing so will
almost certainly make your code cleaner and easier to understand and
maintain.
1960s Fortran | BASIC coding style is not appropriate for languages that
offer modern control structures such as handlers/functions, recursion,
objects, repeat, while, for, etc.
Give us a taste of some problem that you think would be solved by gotos
and labels, and someone will show you how to write it in applescript.
Michael
--
Michael Sullivan
Business Card Express of CT Thermographers to the Trade
Cheshire, CT email@hidden
_______________________________________________
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: | |
| >GoTos? (From: "Dave DeLong" <email@hidden>) |