
Creation of Temporary Types
The rules for the generation of CHOICE temporary type variables are the same as they were for SEQUENCE and SET variables. Complex nested types are pulled out of the definitions and used to create additional types to reduce the nesting levels. An example of this is as follows:
TestChoice ::= CHOICE { a INTEGER, b BOOLEAN, c SEQUENCE { aa IA5String, bb NULL } }TestChoice-c ::= SEQUENCE { aa IA5String, bb NULL } TestChoice ::= CHOICE { a INTEGER, b BOOLEAN, c TestChoice-c }
Objective Systems, Inc.102 Pickering Way, Suite #506Exton, Pennsylvania 19341 http://www.obj-sys.com Phone: (484) 875-9841 Toll-free: (877) 307-6855 (US only) Fax: (484) 875-9830 info@obj-sys.com |