realbasic-nug
[Top] [All Lists]

Re: type-casting enumerations

To: REALbasic NUG <realbasic-nug at lists dot realsoftware dot com>
Subject: Re: type-casting enumerations
From: Mars Saxman <mars at realsoftware dot com>
Date: Sun, 28 May 2006 00:00:57 -0700
Delivered-to: listarchive at realsoftware dot com
Delivered-to: realbasic-nug at lists dot realsoftware dot com
References: <7A4BE8DA-15C2-4E6B-BB00-BA70A6DB08CF at midsouth dot rr dot com>

On May 27, 2006, at 9:32 PM, Dr. Scott Steinman wrote:

I understand that enumerations must be typecast before they are assigned to integers, but why doesn't the typecasting work in the opposite direction (i.e., typecasting an integer to its equivalent enumeration value)?

It's supposed to work. Can you show some example code? Which version of REALbasic are you using?

Mars Saxman
REAL Software

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


<Prev in Thread] Current Thread [Next in Thread>