Could one ‘set variable_x to whatevernotimportant’ in a repeat loop where x is the integer count of the loop (in some other way than that, since that syntax doesn’t work). In other words, can I automatically create variable names the way you can create their data?
That’s the way many other languages - like BASIC - deal with lists. For example sales(3) might be the sales for March.
But applescript has the built-in list type. I think you’d have more luck investigating this.
I’m afraid I can’t give you an example, as I don’t have my reference material to hand, and I’m currently at the stage of having to refer to it several times for each line of my scripts.
No.
All variable must be declared; you cannot create new ones. Use a list instead.
mg