Re: Go To Commands (AppleScript)
Re: Go To Commands (AppleScript)
- Subject: Re: Go To Commands (AppleScript)
- From: email@hidden (Michael Sullivan)
- Date: Thu, 18 Jul 2002 15:12:05 -0400
- Organization: Society for the Incurably Pompous
email@hidden (Dave DeLong) writes:
>
The game I'm planning to write is a computer version of the calculator game
>
"Drugwars." This game, when programmed on a calculator, absolutely needs
>
gotos. If not, the entire thing would be an incredibly complex if...then
>
statement. Gotos aren't necessarily bad programming if they're managed
>
correctly and written in a way that optimizes performance.
They aren't necessarily bad programming when writing in a language that
doesn't support suffiently expressive superior control structures, or
has huge performance penalties for using said.
This is not true of applescript. BTW, I'm pretty sure there is no "go
to" in AS. Where you seem to want to put a goto you would normally use
a function call.
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.