Types question

BlitzMax Forums/BlitzMax Beginners Area/Types question

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.

You should either: a) Return null (and have a check that only adds non-null references to the list), or b) throw an exception.

In your particular case, however I would add the Type to the List in the Create function instead.