Hey,
I need to manage a big amount of data, and handle it as a database. I thought I could use Type to do that? I remember I did that a few years ago when I used BlitzPlus. I need to go throug all entries in a type, until I find the one I need, so I can extract the data. But I have already hit a wall.. I worked off the Type example found under Modules in MaxIDE. Here it is:
After all is created, I try to list all in that Type. Apparantly I cannot use EachIn with Types, which seems odd (I guess..). Or am I using it wrong? How can I go through all?
I have looked at the List feature of BMax, but can't quite work out if that can be used to manage databases..
PS. When I list code in these forums, how can I list it so it's smaller and scrollable?? Useful for large code, but don't know how..
I need to manage a big amount of data, and handle it as a database. I thought I could use Type to do that? I remember I did that a few years ago when I used BlitzPlus. I need to go throug all entries in a type, until I find the one I need, so I can extract the data. But I have already hit a wall.. I worked off the Type example found under Modules in MaxIDE. Here it is:
Type TVector Field x,y,z End Type Local a:TVector=New TVector a.x=10 a.y=20 a.z=30 For b=EachIn TVector Print b Next
After all is created, I try to list all in that Type. Apparantly I cannot use EachIn with Types, which seems odd (I guess..). Or am I using it wrong? How can I go through all?
I have looked at the List feature of BMax, but can't quite work out if that can be used to manage databases..
PS. When I list code in these forums, how can I list it so it's smaller and scrollable?? Useful for large code, but don't know how..