Mapping Enumeration types: Example

Example entity definition in EXPRESS

TYPE primary_colour = ENUMERATION OF (red, green, blue);

END_TYPE;

ENTITY widget;

p_colour : primary_colour;

END_ENTITY;

Sample entity instance in data section

#2 = WIDGET(.RED.);

widget

p_colour

Previous slide Next slide Back to first slide View graphic version

CIS/2 - online

This web site is hosted and maintained by 

SCI Home PageThe Steel Construction Institute

Copyright © 1999, 2000, 2003.  All rights reserved. 
Last modified: Monday February 21, 2000.

Questions or problems regarding this web site should be directed to Andrew Crowley.

CIS/2 is based on deliverables of the Eureka EU130 CIMsteel Project.

cimsteel_logo.gif (2358 bytes)

Copyright ©  The CIMsteel Collaborators.
CIMsteel is a Registered Trademark.

Other products mentioned are registered trademarks or trademarks of their respective companies