Result of passing a type?

Blitz3D Forums/Blitz3D Programming/Result of passing a type?

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.

Yep, that works pretty good for passing types..

On tip though, is that it would be wise/safest to always check in a function that the type passed as a parameter 'is valid' - and not NULL; so:

If localInstance = null then runtimeerror "Empty type passed to DoStuff()!"


D.