• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: How to do a goto with Applescript?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: How to do a goto with Applescript?
      • From: KOENIG Yvan <email@hidden>
References: 
 >How to do a goto with Applescript? (From: Robert Poland <email@hidden>)
 >Re: How to do a goto with Applescript? (From: AndrĂ© Renault <email@hidden>)
 >Re: How to do a goto with Applescript? (From: Robert Poland <email@hidden>)
 >Re: How to do a goto with Applescript? (From: Michelle Steiner <email@hidden>)
 >Re: How to do a goto with Applescript? (From: "Mark J. Reed" <email@hidden>)
 >Re: How to do a goto with Applescript? (From: Robert Poland <email@hidden>)
 >Re: How to do a goto with Applescript? (From: "Mark J. Reed" <email@hidden>)
 >Re: How to do a goto with Applescript? (From: Robert Poland <email@hidden>)
 >Re: How to do a goto with Applescript? (From: Alex Zavatone <email@hidden>)
 >Re: How to do a goto with Applescript? (From: Doug McNutt <email@hidden>)

  • Prev by Date: Re: How to do a goto with Applescript?
  • Next by Date: Re: How to do a goto with Applescript?
  • Previous by thread: Re: How to do a goto with Applescript?
  • Next by thread: Re: How to do a goto with Applescript?
  • Index(es):
    • Date
    • Thread