Getting Type Names

BlitzMax Forums/BlitzMax Programming/Getting Type Names

For some reason I get the Error "Identifier 'TTypeId' not found".

Global ActObj:TList = CreateList()	'Active Objects

For Local Obj:Object = EachIn ActObj
	Local ObjTyp:TTypeId = TTypeId.ForObject( Obj )	'Type ID
	
	If ObjTyp.Name() = "Ladder"
		'Physics
		'*Check if at End of Ladder
		'*Check for Next Ladder
		
		'Climb Ladder
	End If
Next


What could cause this?