|
Draeger Beginner
Joined: 14 Aug 2004 Posts: 10
|
Posted: Sat Oct 02, 2004 8:50 pm
Setting Variables within a variable |
Can anyone help me with this?
I have a string list of a-z in variable abc. What I want it to do is run an alias that will assign a set of letters to another variable...
First in the new variable would be AA, then BA, then CA......and then go through adding b. IE AB, BB ,CB all the way to the last letter ZZ |
|
|
|
Vijilante SubAdmin
Joined: 18 Nov 2001 Posts: 5182
|
Posted: Sun Oct 03, 2004 2:11 am |
NewVariable=""
#LOOP 26 {#LOOP 26 {#ADDITEM NewVariable {%char(%eval(63+%j))%char(%eval(63+%i))}}}
Short and sweet, basic programming problem. |
|
_________________ The only good questions are the ones we have never answered before.
Search the Forums |
|
|
|
|
|