That is exactly the point. I have many integer type properties which cannot be defined as being enum for many reasons but I want to be able to set their values using enums without having to use casts all the time.
On 15/3/07 14:56, "Tim Jones" <[EMAIL PROTECTED]> wrote: > On Mar 15, 2007, at 7:31 AM, Daniel Stenning wrote: > >> currently if one wants to set a variable of any of the integer >> types, one >> has to do an explicit cast -such as >> >> dim myInt as UInt64 = UInt64( myEnum.enumEntry ) > > Was MyEnum.enumEntry previously defained as a UInt64? It seems to me > that I only need to cast when I am actually casting from a different > original type. > > Tim > -- > Tim Jones > [EMAIL PROTECTED] > > _______________________________________________ > Unsubscribe or switch delivery mode: > <http://www.realsoftware.com/support/listmanager/> > > Search the archives: > <http://support.realsoftware.com/listarchives/lists.html> > Regards, Dan _______________________________________________________ www.13flatFIVE.com The C++ <> REALbasic code migration specialists _______________________________________________ Unsubscribe or switch delivery mode: <http://www.realsoftware.com/support/listmanager/> Search the archives: <http://support.realsoftware.com/listarchives/lists.html>
