Static types and Pointers

BlitzMax Forums/BlitzMax Beginners Area/Static types and Pointers

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

I think you can just use:
teapot:obj_data = new obj_data

teapot.vertx = new int[80]
...or...
teapot.vertx = teapot.vertx[..80] - use this to 're-dim' the array too
You could also use a 'new' method or a 'create' function to do this as well.