I thought of a much simpler approach. Use a hidden local variable which the plugin sets to a handle at the start of a "with" and sets to "" and the end of a with.
PowerPro knows to refer to by checking for the "". This can also solve some tricky reference counting issues. If the special locals are not "" at the end of the script, then there was a missing with. Could do nesting by allowing a series of such variables, but may not want to. I'll see if I can get if working with classes and structures over the weekend. -
