> v is "destructive". It has a couple of (global) side effects. Firstly, > the use of v changes the behaviour of jhp's original print afterwards.
On 5/24/07, Oleg Kobchenko <[EMAIL PROTECTED]> wrote:
Note: the overriding in 'base' does not change the original definition in 'z'. If you need to protect visibility of original "print" in 'base', override in another locale. But that again is outside of the scope of original usecases. For "v" to be re-entrant, other facilities would be used in real life like read/writer streaming as in xml/sax addon.
If you ensure that each invocation of v maintains its state in its own locale, would you not get re-entrancy? -- Raul ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
