; Null Example ; ------------ Type Enemy Field name$ Field hp End Type ; Create the level boss boss.Enemy=New Enemy boss\name="Dread King" boss\hp=200 ; Compare a Type variable with Null to see if it points at an object If boss<>Null Then Print "The "+boss\name+" lives! ("+boss\hp+" hp)" ; The boss is defeated Delete boss ; After Delete, the variable no longer points at an object - it is Null If boss=Null Then Print "The boss is gone - the variable is now Null." Print "" Print "Press any key to close the example" WaitKey End