More on reflection: how do I handle an object type

BlitzMax Forums/BlitzMax Beginners Area/More on reflection: how do I handle an object type

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.

A-ha! Figured that one out!

Local id:TTypeId = TTypeId.ForObject(CurrentObject) 
Local Fld:TField = id.FindField(FieldName) 	

If Fld._typeId.ExtendsType(ArrayTypeId) Then FieldType = "Array"

What I still haven't figured out is... how do I SET a value on a field that's an array??? I always get that damn "ERROR" from the reflection.bmx module when I try... help!!!...