SDL-News: Type specialization


Subject: SDL-News: Type specialization
From: haroud (haroudm#gmail.com)
Date: Wed Jun 15 2005 - 16:51:13 GMT


Become an SDL Forum Society member <http://www.sdl-forum.org/Society/members.htm>
The originator of this message is responsible for its content.
-----From haroud <haroudm#gmail.com> to sdlnews -----

Is the following SDL code legal and fully defined

newtype T inherits BOOLEAN
 adding literals Z,X;
endnewtype;

Context:
-------------------------------
dcl t T :=false;

start;
.....
decision t;
(=Z):
......
(=X):
......
(true):
....
(false):

enddecision;

--------------------
Thankyou in advance.

--End text from haroud <haroudm#gmail.com> to sdlnews ---
For extra SDL Forum Society benefits join at <http://www.sdl-forum.org/Society/members.htm>



This archive was generated by hypermail 2a23 : Thu May 09 2013 - 16:05:50 GMT