Adding To A List
Adding To A List
- Subject: Adding To A List
- From: DigitEL <email@hidden>
- Date: Thu, 02 Jun 2005 00:27:24 -0700
Can anyone suggest why the following code which I am trying to create a list of incremented lists returns a list with all of the contained lists equal to the last list incremented?
set currentList to {1, 2, 3, 4} repeat until (item 1 of currentList) is greater than or equal to the stopCount set item 1 of currentList to ((item 1 of currentList) + the nextIncrement) set item 3 of currentList to ((item 3 of currentList) + the nextIncrement) set the end of the newList to currentList end repeat
Thanks in advance.
|
_______________________________________________
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