On Sat, 16 Nov 2002, Mythran wrote: >> >When I type cedit again, everything is blank, as if I am using a blank >> >structure again with no data loaded in it :( >> >> That's because you are. > >config_info = OLC_CONFIG(d); <-- cedit_save_internally() >OLC_CONFIG(d) = config_info; <-- cedit_setup() > >Hmmm...how would it be blank if I am copying the data over like this? What do >you mean it is because I am using a blank structure with no data? I know I am >freeing it, but right after, I am creating it and copying in the same routine. Look at the line again; you're not copying data. A detailed explanation is left an exercise for the reader because I have to go meet some friends at a restaurant. Hint: Investigate the '*' operator in existing OasisOLC code. -- George Greer greerga@circlemud.org -- +---------------------------------------------------------------+ | FAQ: http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html | | Archives: http://post.queensu.ca/listserv/wwwarch/circle.html | | Newbie List: http://groups.yahoo.com/group/circle-newbies/ | +---------------------------------------------------------------+
This archive was generated by hypermail 2b30 : 06/25/03 PDT