Skip to content
Discussion options

You must be logged in to vote

Hi @borro0

Like this:

$ cat foo.asn
Units DEFINITIONS ::=
BEGIN

Speed ::= INTEGER (0..320) --{ km/h }--

Features ::= SEQUENCE {
 mass INTEGER (100..2000) --{ kg }--,
 velocity Speed   -- actual speed
}

END

You will get this output:

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@borro0
Comment options

Answer selected by borro0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants