We haven't implemented an enumeration type, which is what this would be... It would be relatively easy to do, however...

Edward

At 02:41 PM 3/26/2005 +0100, Stephan Fabrizek wrote:
Hi,

is it possible to define new types, for example by using the expression
language?

I need something like this:

data Status ::= On | Off | Stopped;

Thanks
Stephan Fabrizek


---------------------------------------------------------------------------- Posted to the ptolemy-hackers mailing list. Please send administrative mail for this list to: [EMAIL PROTECTED]

------------
Edward A. Lee
Professor, Chair of the EE Division, Associate Chair of EECS
231 Cory Hall, UC Berkeley, Berkeley, CA 94720
phone: 510-642-0253 or 510-642-0455, fax: 510-642-2845
[EMAIL PROTECTED], http://ptolemy.eecs.berkeley.edu/~eal



---------------------------------------------------------------------------- Posted to the ptolemy-hackers mailing list. Please send administrative mail for this list to: [EMAIL PROTECTED]

Reply via email to