On 18 Sep 2002, Tom Hughes wrote: > In message <[EMAIL PROTECTED]> > Leopold Toetsch <[EMAIL PROTECTED]> wrote: > > > [ add Px[Ix], Py, Pz[Iz] > > > > 2) What PASM ops should above statement generate: > > a) add_p_k_p_p_k (i.e. all variations of /p(_k)?/ ) > > b) add_p_k_p_k_p_k > > if b) how to create a NULL key and how does it look like in PBC? > > As things stand it would have to be option a, or at least that is what > the current assembler would generate. There isn't much else it can do > really - how would it know when to generate a null key for an operand > and when not to?
Another possible option would be to extend the number of vtable methods that might end up taking NULL keys -- some of them do already. Then anything that had any keyed arguments could generate (possibly empty) keys for _all_ arguments. /s