Other Applications
Application |
Supported (Y/N) |
Example |
Remarks |
|---|---|---|---|
Value assignment |
Y |
MyType ::= INTEGER MyValue MyType ::= 10 |
- |
Alias |
Y |
MyInt1 ::= INTEGER(0..128) MyInt2 ::= MyInt1 MyInt3 ::= MyInt2 |
- |
IMPORTS |
Y |
-- Define a module A: A DEFINITIONS::=BEGIN MyType ::= INTEGER END -- Define a module B that introduces MyType of module A: B DEFINITIONS ::= BEGIN IMPORTS MyType FROM A; MyOtherType ::= MyType END |
EXPORTS is not supported. By default, all types are exported. |
Recursive definition |
N |
RecursiveSeq ::= SEQUENCE {data INTEGER(0..128), next RecursiveSeq} |
- |
Circular reference |
N |
CircularSequence1 ::= SEQUENCE {name OCTET STRING, cs2 CircularSequence2 OPTIONAL} CircularSequence2 ::= SEQUENCE {cs 1 CircularSequence1} |
- |
Parent topic: Specifications