BOOLEAN(1)INTEGER(2)REAL(9)BITSTRING(3),
OCTETSTRING(4)NULL(5)ENUMERATED(10)
brainDamaged ::= BOOLEAN
numberOfEmployees ::= INTEGER
avogadrosNumber ::= REAL(602,10,23)
sevenDeadlySins ::= ENUMERATED {
pride(1), envy(2), gluttony(3), avarice(4), lust(5), sloth(6),
wrath(7)
} -- corresponding to OSI 7 layers :-)
NB: The numbers given in parentheses, eg (1),
are called TAGS, see later this lecture.
[2] A Java programmer
would probably call these primitive data types; in
some other languages they would be called scalars,
although most programming languages don't include the "string"
types in this category.
| Lecture 21: Network Management #1 | Copyright © 2005 P.Scott, La Trobe University Bendigo. |