Jens Rieks <[EMAIL PROTECTED]> wrote: > On Sunday 28 November 2004, Jens Rieks wrote: >> added new TODO test: >> new Px, Ix: argcP is wrong in __init method > minesweeper does not run because of this.
The __init shouldn't have arguments originally. But it worked, if you set the arguments yourself. I0 is zero initially, it's an unprototyped call and argcP (and 4 PMC arguments) are passed on to __init. This is the current way to pass arguments. OTOH when you call run "new Px, Iy, PInit" it's called according to pdd03 with one argument. I think both are a bit hackish. Could you try to use the new_extended opcode instead, if you need arguments? PObj = PClass."new_extended"(args) $ find t imcc/t -name '*.t' | xargs grep new_extended leo