Passing a type to a function

Blitz3D Forums/Blitz3D Beginners Area/Passing a type to a function

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.

Yes, the code does work, but I also noticed that calling the function with

MyFunction(Alien.Aliens)

works aswell. I suppose what I should have asked is, which one should I use, or is there a difference between MyFunction(Alien) and MyFunction (Alien.Aliens)...... ?