Methods and Types

BlitzMax Forums/BlitzMax Beginners Area/Methods and Types

SebHoll(Posted 2006) [#1]
Quick Question,

When coding within a method (inside a type), how do you refer to the current type instance. I want to add a OO command which deletes the current instance after performing a few clean up operations. I tried using the type name i.e. TTest, but it throws up compiler errors.

Thanks in advance

S. Hollington


Grey Alien(Posted 2006) [#2]
self


SebHoll(Posted 2006) [#3]
Just what I needed.

Thanks