[EMAIL PROTECTED] wrote:
Overloading?
Like this:
void setanswer(String answer){
}
void setanswer(String answer, String title){
}
or This?
void setanswer(String answer){
}
void setanswer(String title){
}
Isn't this last example invalid, because both are string parms?
Overloading is great when the parms differ. I don't know how the
compiler would be able to tell in your last example which
function/procedure to call since both are the same type?
--
Michael J. Babcock, MCP
MB Software Solutions, LLC
http://mbsoftwaresolutions.com
http://fabmate.com
"Work smarter, not harder, with MBSS custom software solutions!"
_______________________________________________
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
** All postings, unless explicitly stated otherwise, are the opinions of the
author, and do not constitute legal or medical advice. This statement is added
to the messages for those lawyers who are too stupid to see the obvious.