Advance Visual Basic

Moderators: None (Apply to moderate this forum)
Number of threads: 827
Number of posts: 1731

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
store var in collection or in array Posted by sal21 on 18 Apr 2009 at 5:35 AM
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



 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.