<% text1="Monday" text2="Tuesday" text3="Wednesday" for i=1 to 3 listx="text"&i response.write listx&"<br>" next %> I want the result like this: Monday Tuesday Wednesday why listx="text"&i does not work what shall be Please help
What you actually want is an array: <% text(1)="Monday" text(2)="Tuesday" text(3)="Wednesday" for i = 1 to 3 listx=text(i) response.write( listx & "<br />" ) next i %> Read up on arrays.