• 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: Incrementing variables
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Incrementing variables


  • Subject: Re: Incrementing variables
  • From: Michelle Steiner <email@hidden>
  • Date: Wed, 20 Jul 2005 14:35:11 -0700


On Jul 19, 2005, at 3:34 PM, Robert Poland wrote:

set selectedPlots  to {1,2,3,4}
repeat with index from 1 to selectedPlots
    set xplot to item index of selectedPlots as integer

    if xplot = 1 then -- lying
        set plotValue(xplot) to theValue(xplot)
        set plotValue(xplot) to theValue(xplot)
        ...
    end if

Are you trying to do this?

plotValue (theValue(xplot))

I don't see why you have the if-then blocks; you're using the same code in all of them.

-- Michelle

--
"Beware the march of ideas."

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Incrementing variables (From: Robert Poland <email@hidden>)
 >Re: Incrementing variables (From: Michael Ghilissen <email@hidden>)
 >Re: Incrementing variables (From: Robert Poland <email@hidden>)

  • Prev by Date: Scripting Script Debugger
  • Next by Date: Re: Choose from list
  • Previous by thread: Re: Incrementing variables
  • Next by thread: Re: Incrementing variables
  • Index(es):
    • Date
    • Thread