Getting Type Names

BlitzMax Forums/BlitzMax Programming/Getting Type Names

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.

Like this?

Type Custom
EndType

Type Custom2 Extends Custom
EndType

Local a:Custom2=New Custom2

Local aID:TTypeId=TTypeId.ForObject(a)

Print aID.Name()
Print aID.SuperType().Name()