Re: Does Curl support override(Not about class inheritance)

2006-10-11 Thread JamesWang
ed the problem as what Bert said. Thanks a lot! James - Original Message - From: "Bert Halstead" <[EMAIL PROTECTED]> To: "Christopher Barber" <[EMAIL PROTECTED]> Cc: "JamesWang" <[EMAIL PROTECTED]>; Sent: Wednesday, October 11, 2006 10:43

Re: Does Curl support override(Not about class inheritance)

2006-10-11 Thread Bert Halstead
Christopher Barber wrote: It is possible to mimic the behavior of overloading by defining a macro which examines its arguments and determines which implementation to dispatch to, but it is usually not worth the trouble. Also, Curl's support for optional, rest, and keyword arguments in proce

Re: Does Curl support override(Not about class inheritance)

2006-10-11 Thread Christopher Barber
JamesWang wrote: Hello Does Curl support method or procedure override? I can define two procedures with the same name in Curl.Does it mean Curl does not support that? I am not sure what you mean. Curl does not allow two things to use the same name within the same package or class (with

Re: Does Curl support override(Not about class inheritance)

2006-10-11 Thread Bob Marriott
Hi James, Can you be a little more specific in what you are trying to do? If the procedures are in different scopes they can have the same name. You can redefine a method in an inherited class (with some limitations) You can use the same name in many class definitions without restriction if t

Does Curl support override(Not about class inheritance)

2006-10-11 Thread JamesWang
Hello Does Curl support method or procedure override? I can define two procedures with the same name in Curl.Does it mean Curl does not support that? James -- Confidentiality Notice: The information con