types and functions

Blitz3D Forums/Blitz3D Beginners Area/types and functions

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.

thanks all

Incidentally, I'm reaching a stage in my program where its probably best I make a decision NOW as to how I'm going to reference my type object. eg. in my main loops is it best to do this method...


For loop.car = Each car (I have 4 different types of car)
loop.car\field = whatever
Next



or, is it better to put them into an array like this:



car(1)\field = whatever
car(2)\field = whatever



I'm sure everyone of you have been in this position before, so your experience would be invaluable