store var in collection or in array - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

store var in collection or in array

I loop with a for nex cicle a var similar:

for x=0 to 100
my_var="500"
next

now during this loop (the var is filled dinamicly and can assume a value 500,1458,500,478,1458,471 ...ecc)

i want to store in collection or in array, during the for next, only the var not duplicate...

in this case the array or collection contain 500,1458,478,471.

after the for next is finished looping the value in collection or array....
i hope i am be clear
Sign In or Register to comment.