On 2-Apr-09, at 12:01 AM, Bob Delaney wrote:
But for function overloading in C++ the argument type determines the
function to be used. Does REALbasic not work the same way?
just write some plain RB code to see this
Class1
operator_convert(x as integer)
operator_convert(x as double)
then on push button on a window put
dim c as Class1 = 6
this should invoke the operator_convert and you'll see it warns in the
same way
This is not new - it's been this way for a very long time
I'll confess I don't know why (or maybe it did get discussed at one
time and I forget what the discussion was)
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>