types of arguments, overloading refers to the ability to pass in alternate
types to the method and have the mthod act upon those typed arguments.
Simplified...
calcTotal(int x, int y);
calcTotal(float x, float y);
One version expects integer arguments, the other floats.
Mike
-----Original Message-----
From: Paul Wilson [mailto:[EMAIL PROTECTED]
Sent: Monday, March 15, 2004 5:05 PM
To: CF-Talk
Subject: RE: CFCs: Overloaded Constructors ?
What does overloading constructors mean?
-----Original Message-----
From: Jamie Jackson [mailto:[EMAIL PROTECTED]
Sent: Tuesday, 16 March 2004 7:32
To: CF-Talk
Subject: Re: CFCs: Overloaded Constructors ?
Okay, pretty much what I figured.
Thanks for the confirmation,
Jamie
On Mon, 15 Mar 2004 12:07:43 -0800, in cf-talk you wrote:
>You can have one method that has optional arguments for the different
>variations on the "overloaded" method. For each valid argument
combination,
>you can run separate code, maybe even a separate private method for
each.
>
>Paul Kenney
>WebMaster, CorporateWarriors.com
>916-663-1963
>
>
>-----Original Message-----
>From: Jamie Jackson [mailto:[EMAIL PROTECTED]
>Sent: Monday, March 15, 2004 11:55 AM
>To: CF-Talk
>Subject: CFCs: Overloaded Constructors ?
>
>
>What are some workarounds for (pseudo-) overloading constructors in
>CFMX 6.1?
>
>Thanks,
>Jamie
>
>
>
>
_____
________________________________
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]