Changing name of the variable dynamically

Hi All,
I want to change the name of a variable dynamically,
For eg,
Just by iteration, i want to have the variable names as,

V1
V2
V3
V4
V5

Anyone has any idea how to do this??

Thanks in advance…

The closest thing to what you seem to be looking for is, of course, an array. For example, V (a3/1:5) which would allow you to reference V (#subscript), where #subscript could range from 1 to 5.

steve

No actually, i am looking for changing the variable name dynamically and not various contents into an array like thing…

Hope u are getting it, what i am looking for…

Two possibilities are (1) copycode with parameters (e.g. &1& …etc) and (2) ampersand variables (e.g. WRITE &WRITE where &WRITE is replaced at run time by the contents of the global variable +WRITE.

steve