[futurebasic] Re: FB^3 & Method overloads

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : December 1997 : Group Archive : Group : All Groups

From: tatewake@... (Terence Jordan)
Date: Thu, 4 Dec 1997 19:03:53 -0400
>Overloads are supported - I just wasn't sure what you were talking about.
> You can change the parameter in an overridden method.

Maybe I misunderstood you earlier, Dave...

For instance:

BEGIN METHOD drawRect(theRect)
 ...(first set in same class)
END METHOD

is valid,

BEGIN METHOD drawRect()
 ...(second set in same class)
END METHOD

is also valid, but...

BEGIN METHOD drawRect(x1,y1,x2,y2)
 ...(third set in same class)
END METHOD

is not valid because of the 1 parameter limit?

Just trying to understand it...

BTW, I'm not too upset about the only one parameter thingy, I mean, you can
just create a spec and push stuff into it, heck, I could have an object
that contains all the parameters, and then pass the other class the object
with all the data; easy, eh?



-- Terence Jordan (tatewake@...)
Inspired Software. http://inspired.netstreet.net/
Macintosh, Dos, Windows, and BeOS software solutions.
Phone: 407-728-7563
............................................
. New: Renegade Space Ninja for Macintosh! .
.      Visit our page for more info.       .
............................................