Why is Self=Null wrong?

BlitzMax Forums/BlitzMax Beginners Area/Why is Self=Null wrong?

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.

Pert: Don't you mean..

Function Destroy( Destroyable:Object Var )
     Destroyable = Null
     FlushMem
End Function


Which is rather weird, because you'd be better off just setting the variable to Null. But then, can you pass Self to a Object Var that nullifies it?

To the testing grounds!