ASN.1
Previous: Type Assignment Up: Modules and Assignments Next: Built-in Types


Value Assignment

  A value assignment consists of a value reference (the name of the value), the type of the value, ::= (``is assigned the value''), and a valid value notation. A value reference must begin with a lower case letter, but otherwise has the same syntax as a type assignment. For example,

     gadget  ItemId  ::=
       {
        partnumber      "7685B2",
        quantity        73,
        wholesaleprice  13.50,
        saleprice       24.95
       )

defines ``gadget" as a value of type ``ItemId".


This site was developed from:
Computer Networks and Open Systems
An Application Development Perspective

by
Lillian N. Cassel
Richard H. Austing

Jones & Bartlett Publisher
ISBN 0-7637-1122-5

This site is hosted by:


Real World ASN.1 and XML Solutions