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?
jem
_______________________________________________
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>