Re: dynamic variables
Re: dynamic variables
- Subject: Re: dynamic variables
- From: Emmanuel <email@hidden>
- Date: Thu, 24 Jul 2003 18:21:06 +0200
At 10:55 AM -0400 24/07/03, jay wrote:
>
Thanks for your reply jj.
>
>
I'm not sure if that is what I am looking for. It could be better described with an example: My program is going to get 100 numbers while it is running (say from the user). I need to save all 100 numbers. Instead of defining 100 variables outright I want my script to create a new variable every time it receives a new number. Thus my program would start with 0 number variables and end with 100 variable numbers.
Many will advise that you handle a list. Would that be a problem?
Instead of saying, say, "myEntry76" to refer to the 76th item, you would say "item 76 of myEntryList".
Emmanuel
_______________________________________________
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.