If i have a type ie
type box
field x
field y
end type
and i wanted to create 5 new boxes
box1.box=new box
box1\x=5
box1\y=10
etc for the other 4, how can i create a loop so that i can create all 5 with minimum code. Is this possible bearing in mind that each name must be unique?
thanks
type box
field x
field y
end type
and i wanted to create 5 new boxes
box1.box=new box
box1\x=5
box1\y=10
etc for the other 4, how can i create a loop so that i can create all 5 with minimum code. Is this possible bearing in mind that each name must be unique?
thanks