realbasic-nug
[Top] [All Lists]

Re: Overloading in RB 5

To: REALbasic Network Users Group <realbasic-nug at lists dot realsoftware dot com>
Subject: Re: Overloading in RB 5
From: Seth Willits <seth at freaksw dot com>
Date: Wed, 19 Mar 2003 22:11:30 -0800

On Wednesday, March 19, 2003, at 02:53  PM, Charles Yeomans wrote:

...seems to work really, really well. Now you can even overload a method with both Integer and Variant parameters, as in Foo(i as Integer) and Foo(v as Variant). This is great.

Good! I hope that stinking problem is fixed where you, well, let me check... Rock on! It's fixed!

If you had two methods Foo(i as integer) and Foo(b as boolean), you couldn't do: Foo true -- you absolutely *HAD* to put parenthesis around the parameters even if foo didn't return a value. That annoyed the snot out of me and confused me several times thinking that I couldn't overload in certain cases.

Weeeeeeeeeeeeeeeeeeeeeeeeeeeee!!!!!!!!!!!!!!!!!!!! spleet.


Seth Willits
------------------------------------------------------------------------ ---
President and Head Developer of Freak Software - http://www.freaksw.com
Q&A Columnist for REALbasic Developer Magazine - http://www.rbdeveloper.com

"It's okay. We can't all have three digit IQ levels."
    -- Seth Willits
------------------------------------------------------------------------ ---



---
A searchable archive of this list is available at:
<http://support.realsoftware.com/listarchives/search.php>

Unsubscribe:
<mailto:realbasic-nug-off at lists dot realsoftware dot com>

Subscribe to the digest: <mailto:realbasic-nug-digest at lists dot realsoftware dot com>
.


<Prev in Thread] Current Thread [Next in Thread>