Is the OPNET op_prg_list_free() Kernel Procedure recursive?In other words, if I have a List of Lists, can I call op_prg_list_free() on the parent list only?
Is the OPNET op_prg_list_free() Kernel Procedure recursive?In other words, if I have a List of Lists, can I call op_prg_list_free() on the parent list only?
The op_prg_list_free () Kernel Procedure is not recursive.So you will have to call this KP on each of the lists individually.Also note that op_prg_list_free() will only free shallow structures. If you have a List of deep structures, each structure will have to be removed and freed individually.
DES Kernel->Process Modeling/Coding