On Aug 20, 2006, at 8:52 AM, Jan Erik Moström wrote:

If I define two methods like this

Protected Function getMonthNameShort(m as String) As String
Protected Function getMonthNameShort(month as Integer) As String

everything works fine but if I define them like this

Protected Function getMonthNameShort(month as Months) As String
Protected Function getMonthNameShort(month as Integer) As String

where Months is an enumerator I get a compile error "Duplicate Method
Definition"

Does this mean that RB interprets an enumeration as a simple Integer?

It sounds like that's what is happening, but I'm pretty sure this is a bug. If you could file a report, that would help out.

Thanks,
-Jon


--
Jonathan Johnson
[EMAIL PROTECTED]
REAL Software, Inc.


_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to