Whenever you see a linear pattern in the names, the same thing can be done with an index.
MyVar1 = MyVar[1-1]
MyVar2 = MyVar[2-1]
MyVar3 = MyVar[3-1]
...
To do something with each element,...
CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
Search:Type: Posts; User: Dawoodoz Search: Search took 0.01 seconds.
Results 1 to 1 of 1
|
Click Here to Expand Forum to Full Width |