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 don't understand : Why would I not have pens and turnips on the same list? What about a shopping list , RPG Inventory, Objects on a tile etc? On that I might have :
Knife extends TWeapon
Turnip extends TVegetable
Pen extends TWriting_Implements.
OK, it might be better to TWeapon with a field TSpec which extends to TKnife_spec but, for my question, that is all irrelevant.
The basic question was 'Can I use Reflection to cast?'
The answer appears to be 'no, not directly' so I am happy with that.