Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
sasikanth
Master
Master

How to create no of variables and assign values in script level dynamically

hi

i want to create a N number of variables and to assign values to these 10 variables like

v1=1

v2=2

v33

v4=4

....

.

.

.

.

How can i do this at script level

Thanks in advance

3 Replies
kaushiknsolanki
Partner Ambassador/MVP
Partner Ambassador/MVP

Hi,

     Try this.

          for i=1 to 10

           let v$(i) = $(i);


          Next

Regards,

Kaushik Solanki

Please remember to hit the 'Like' button and for helpful answers and resolutions, click on the 'Accept As Solution' button. Cheers!
sasikanth
Master
Master
Author

hi Kaushik

Thanks for reply that works fine

sasikanth
Master
Master
Author

Hi

can you please explain about unit testing on our Qvw file