creation of array of objects

May 17, 2001
2:06 p.m.
hi all.. I want to create an array of class objects of size say mXn. What would be the easiest way to do this? eg. class test: pass i want 5x10 array of test() instances. Then only way i know of doing this ,is by creating a=array(test()) resize(a,[5,10]) but this creates only references to the initial objects.Is there some way of creating fresh objects ? Also, if the __init__() call of the class takes some parameters, i should be able to enter values.. thanx in anticipation ciao
8685
Age (days ago)
8685
Last active (days ago)
0 comments
1 participants
participants (1)
-
kk