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!


Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.

store var in collection or in array

I loop with a for nex cicle a var similar:

for x=0 to 100

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.