In b3d if i wanted a simple data structure ie:
for a=1 to 10
mt.mytype=new mytype
mt\blah=a
next
for mt.mytype=each mytype
print mt\blah
next
Ive tried to do the same in max obviously changing \ fo . . for \ and each for eachin, but now im getting something about lists? what is this, is the list to be global local? In otherwords where does it fit in to the general scheme of things?
The example in the code seems to imply i have to create a list localy and fill it somehow with my entire type structure, simply to recurse all data in said type?!?
why does this need to be so complicated?
for a=1 to 10
mt.mytype=new mytype
mt\blah=a
next
for mt.mytype=each mytype
print mt\blah
next
Ive tried to do the same in max obviously changing \ fo . . for \ and each for eachin, but now im getting something about lists? what is this, is the list to be global local? In otherwords where does it fit in to the general scheme of things?
The example in the code seems to imply i have to create a list localy and fill it somehow with my entire type structure, simply to recurse all data in said type?!?
why does this need to be so complicated?