http://www.realsoftware.com/feedback/viewreport.php?reportid=ozakxhjm

In order to easily set up enums that refer to C enums used in Declare calls
it would be very useful to be able to set an element by using a single
quoted 4 character ascii string ( similar to OSType )

This is in order to be able to easily set up enums originally defined in a C
header - for example:

enum EventClass
{
kEventClassControl = 'cntl',
kEventClassCommand = 'cmds'
...
}

Here - although the enums are numeric they are defined using four
ASCII bytes for readability.

This facility  already exists in RB for setting up RB integer constants, so
it would be natural to also apply it here.



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

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to