Super?

BlitzMax Forums/BlitzMax Beginners Area/Super?

EDIT: Didn't explain it too well, lets try again:

Supposing we had a type Animal and a type which extends Animal called Cat. If they both implemented different Die methods, then calling Super.Die from inside one of Cat's methods actually calls Animal.Die because Cat is a type of Animal.

Calling Self.Die or just Die on the other hand from one of Cat's methods would call Cat.Die

Type Animal
   Method Die()
       Print "An animal died."
   End Method
End Type

Type Cat Extends Animal
   Method Die()
       Print "A cat died."
   End Method

   Method WaysToKillACat()
      'Prints "A cat died" (same as just Die on its own)
       Self.Die
    
       'Prints "An animal died"
       Super.Die
   End Method
End Type