Re: How to do a goto with Applescript?
Re: How to do a goto with Applescript?
- Subject: Re: How to do a goto with Applescript?
- From: Alex Zavatone <email@hidden>
- Date: Tue, 11 Jan 2011 09:31:20 -0600
On Jan 10, 2011, at 7:24 PM, Doug McNutt wrote:
> At 13:12 -0600 1/10/11, Alex Zavatone wrote:
> Calling variables, i, j, or x is meaningless.
>
>
> This is way off topic anyway but. . .
>
> i, j and also k l m n are, since about 1962 when they, used alone, were directed to hardware index registers. Using them as loop indices resulted in higher speeds. As first letters in longer names they indicated use of integers.
>
> x and names that started with letters other than the ones above were floating point.
>
> And, oh yes, they had to be used as capitals because a byte was 6 bits.
>
> So perhaps you meant meaningless to AppleScript. I'll bet they still work. But I'll also bet AppleScript doesn't even try to optimize processing speed in . . .
>
> At 12:11 -0800 1/10/11, Stan Cleveland wrote:
> repeat with i from 1 to 10
> display dialog i
> set i to i + 2
> end repeat
It doesn't. I checked last night. Why should it? Code should be tokenized and interpreted and or JIT compiled. A variable name is meaningless to the compiler.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden