[DGD] Bad argument 2 - should be 1?

Petter Nyström md1pette at mdstud.chalmers.se
Mon Jul 18 18:23:01 CEST 2005


Running this code:

     string *a;
     a = nil; /* For emphasis. */
     a = a + ({"b"});

Results in an error "Bad argument 2 for kfun +", shouldn't this be "Bad 
argument 1 for kfun +"? Not so big a thing, but it had me confused for a 
while as I searched for a bug in the wrong place.

Thanks,

Petter



More information about the DGD mailing list