Curious things about classes

BlitzMax Forums/BlitzMax Programming/Curious things about classes

ziggy(Posted 2008) [#1]
This works:
Strict

Type MyClass

End Type

Local F:MyClass = New MyClass
Notify(F.ToString())
Notify(F.Compare(New MyClass))

but surprisingly there's no ToString() or Compare() method defined in the class, so that makes me thing that the base object class has this base methods (so all extended objects have them). Any additional hidden method known by anyone? (I'm adding them to BLIde intelliprompt)


Yan(Posted 2008) [#2]
This is covered in the much maligned but seldom studied docs.


ziggy(Posted 2008) [#3]
Where?


Yan(Posted 2008) [#4]
Lummy...

Language>objects


ziggy(Posted 2008) [#5]
thanks!