On Sat, 9 Aug 2003, Sean O'Rourke wrote: > The problem is that when adder() gets returned, it > needs to remember the enclosing pad. So this needs to > be > > newsub $P1, .Closure, _sub1 > > which (IIRC) will save the lexical environment in which > it was created (see closure.pmc), then restore that > when it is invoked.
Thanks! I see the light. :) I just made all python routines closures for now, and all my tests passed. Sincerely, Michal J Wallace Sabren Enterprises, Inc. ------------------------------------- contact: [EMAIL PROTECTED] hosting: http://www.cornerhost.com/ my site: http://www.withoutane.com/ --------------------------------------