..reflection..
BlitzMax Forums/BlitzMax Programming/..reflection..
| ||
..i couldnt find any in depth tutorial, similar for tutorials done by John J. Ill appreciate a lot if you guys could point me on to some very good tutorials about reflection in bmax..thanks.. |
| ||
There aren't any, AFAIK, but here's some of my code that demonstrates how to use it:typeid=TTypeId.ForObject(Self) For f=EachIn typeid.enumfields() If map.contains(GetGroupName()+"."+f.name()) value=String(map.valueforkey(GetGroupName()+"."+f.name())) If value f.setstring(Self,value) EndIf EndIf Next |
| ||
check out mine or bruceys persistence modules also, mine is in the code archives |