let me start by showing an example of what im trying to do:
Let>VAREXPLICIT=1
let>1=what i want
Let>k=1
Message>%%k%%
obviously its not that simple.
k gets many numerical values (and has to get numerical values only!!!) and i want the message to display the vlaue of each value (i want the message to display 'what i want').
the thing is that i get a message saying '%%k%%' instead of 'what i want'.
so can anyone tell me of a different way of writing the message?
or a different way altogether?
Thanks!
%%k%%
Moderators: Dorian (MJT support), JRL
thanks for the reply dick it made me understand that i need to elaborate what im trying to do by a better example:
Let>VAREXPLICIT=1
Let>1=nameA
Let>2=nameB
Let>3=nameC
Let>k=1
Label>again
Message>%%k%%
Let>k=%k%+1
If>k=3,end
ENDIF
Goto>again
Label>end
In the real script i have 1181 names instead of 3 so i defined them in a loop. in order to define them in the loop i needed to number them and thats how i got this mess.
anyway i want to message to display the names.
Thanks!
Let>VAREXPLICIT=1
Let>1=nameA
Let>2=nameB
Let>3=nameC
Let>k=1
Label>again
Message>%%k%%
Let>k=%k%+1
If>k=3,end
ENDIF
Goto>again
Label>end
In the real script i have 1181 names instead of 3 so i defined them in a loop. in order to define them in the loop i needed to number them and thats how i got this mess.
anyway i want to message to display the names.
Thanks!