Hey, TMC, I have a ReloadBasic question. I want to do something like this:
SUB load_hero_from_reload(hero as HeroDef ptr, byval parent as NodePtr) READNODE parent, default hero->name = parent."name".string hero->max_name_len = parent."name"."maxlen".default(0).integer This isn't allowed because parent."name" appears twice in the READNODE block. Is there any way to do this in reloadbasic syntax? I couldn't find anything in the examples or the text file. Right now I am torn between doing these nodes without reload syntax or changing my data structure so string max length is a sibling of the string instead of a child. --- James _______________________________________________ Ohrrpgce mailing list [email protected] http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org
