[futurebasic] Re: FB^3 & Method overloads

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

From: David Blache <microcsm@...>
Date: Thu, 4 Dec 97 07:22:06 -0600
Chris wrote:

>I don't know if this was addressed before or not, but does FB^3 support
>method overloading?  If so, is it implemented by simply defining methods
>with the same names and different parameter lists (and/or return types) or
>something else?

Overrides.  And yes they are fully supported.  If the class defines a 
method that was defined in the superclass, that method has been 
overridden.  You also have the option of inheriting the overriden method 
if you want.

========================================
|       David Blache - Developer       |
========================================
|   Staz Software, Inc - Stazologist   |
|        (tech@...)       |
|   Microcosm Software, Inc. - Owner   |
|        (microcsm@...)        |
========================================