Tobject... finding the type 'inside'?
BlitzMax Forums/BlitzMax Beginners Area/Tobject... finding the type 'inside'?
| ||
Is there a way of evaluating what Type TObject is storing? PCode... If TObject = MyType1 do this blah else if TObject = MyType2 do this ... |
| ||
You can use type casting to find out what type an object contains ...If MyType1(object) blah else if MyType2(object) ... |
| ||
Ah, I see, many thanks REDi :) |