From: Georges KO

Subject: Re: Different argument list for same method name

Date: 2000-11-14 9:27

David Kaasen <nvg.ntnu.no at kaasen> writes:

> Of course a solution could be to give the methods different > names, but I think that is unsatisfactory. > > Do you have any ideas of how to get around this? I intend > my program to be platform independent.
How about using "&rest args" instead of "x" and "x y" and dispatch (yourself) to the appropriate method ? -- Georges KO (Taipei, Taiwan) <gko.net at gko> Jour 2 de la semaine 46 de l'an 2000