> 
> The class plugin is unloaded at the end because otherwise Powerpro crashed 
> when the script was rerun. Possibly storing structured data in a local vector 
> was not expected. 


Structured data reference is just a handle so conceptually it should work.  I 
would guess that the fragile reference counting stuff is breaking -- possibly 
the data structure in class have been corrupted when the function exits and 
vdata is cleaned up, resulting in the freeing of the memory for each structure 
(since they should all now have a reference count of 0).

What gets put in the debug file if you use exec.debug to redirect debug output 
to a file and then use class.verbose(2) at the start of the program?

I don't have access on my machine so I don't think I can run the script



>       do("&(myvarname) = MyView.Fields(j).Value")

Does the following work to avoid ugly &()?
do (myvarname ++ "= MyView.Fields(j).Value")




Reply via email to