"Ram�n Jim�nez" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Larry P wrote: > > What do you mean by overloaded methods? Like Java where the type > > of the arguments determines which method is called? This doesn't > > work so well in Cache' where a variable isn't actually typed. > > True. But it would be nice if I could select between two methods > depending on the number of arguments. This can be emulated to a certain > point with methods that $GET() their arguments, but is not quite the same.
But you can define default values for arguments in the method declaration and then omit them in the call. This would lead to ambiguity as to which flavor of the method you're referencing.
