|
-
Feb 28th, 2009, 12:48 AM
#1
Thread Starter
New Member
HOw To handle large number of variables
HI,
ok here it is. I have collection of variables. now there is a calculation associated with each variable. Each variable in collection has a name too.
Now what i did is I declared a variable of same name of that of the vaiable in the collection and performed calculation and then updated/assigned the calculated value to the variable in the collection.
Now problem is that I have to write the same code for each variable in the collection.
Is there any way to minimize the code?
Is there any way I can iterate it into a loop?
Thanx.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|