|
-
March 24th, 2004, 12:08 PM
#1
naming objects in realtime
is it possible to concatenate a count variable to the end of an object name so that for example a loop could create multiple objects automatically. eg if each object was called test, the loop would concatenate 1, 2, 3 etc on to the end of test so that objects called test1, test2 and test3 were created on each respective iteration of the loop? Basically I am reading in 4 lines of info at a time from a file using a loop, and using a storage class to hold the information. I want each object to have a different name as it is created in the loop...like above.
I hope that explaination makes sense
Justin
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
|