RE: SDL-News: Unions

Subject: RE: SDL-News: Unions
Date: Fri Apr 16 1999 - 10:36:36 GMT

The originator of this message is responsible for its content.
-----From to sdlnews -----

jeanfrancois.suel#cnet.francetelecom wrote:
> Using Z.105, you can use ASN.1 CHOICE type, which has an union
semantic :
> - declaration of the type : MyUnion::=CHOICE { field1 Field1type,
> Field2type };
> - declaration of a variable : dcl myVar MyUnion;
> - and you can use its value with all the operators which come with the
> CHOICE type :
> myVar!field1:=aField1typeValue;
> then field1Present(myVar) is TRUE and field2Present(myVar) is FALSE

Can This be used to make nonymous unions too?


-----End text from to sdlnews -----
For help, email "" with the body of your email as:
or (iff this does not answer your question) email:

This archive was generated by hypermail 2a23 : Sun Jun 16 2013 - 10:41:40 GMT