Reflection and name().

BlitzMax Forums/BlitzMax Beginners Area/Reflection and name().

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.

I probably oversimplified the code I posted. Basically, I am looking for the best method to find out an objects type and cast back to it.
I thought I could use reflection to get the typename and then use that to cast the object. This would avoided using select/case or if/endif statements.