Commit | Line | Data |
---|---|---|
970ed795 | 1 | --///////////////////////////////////////////////////////////////////////////// |
3abe9331 | 2 | -- Copyright (c) 2000-2015 Ericsson Telecom AB |
970ed795 EL |
3 | -- All rights reserved. This program and the accompanying materials |
4 | -- are made available under the terms of the Eclipse Public License v1.0 | |
5 | -- which accompanies this distribution, and is available at | |
6 | -- http://www.eclipse.org/legal/epl-v10.html | |
7 | --///////////////////////////////////////////////////////////////////////////// | |
8 | Test61 | |
9 | ||
10 | DEFINITIONS | |
11 | ||
12 | AUTOMATIC TAGS | |
13 | ||
14 | ::= | |
15 | ||
16 | BEGIN | |
17 | ||
18 | IMPORTS ; -- nothing | |
19 | ||
20 | MyIntegerType1 ::= INTEGER { firstnumber(-1000), secondnumber(0), othernumber(1000), lastnumber (-999) } | |
21 | ||
22 | myIntegerValue1 MyIntegerType1 ::= firstnumber | |
23 | ||
24 | myIntegerValue2 MyIntegerType1 ::= secondnumber | |
25 | ||
26 | myIntegerValue3 MyIntegerType1 ::= othernumber | |
27 | ||
28 | myIntegerValue4 MyIntegerType1 ::= lastnumber | |
29 | ||
30 | ||
31 | ||
32 | MyIntegerType2 ::= INTEGER {first(myIntegerValue1), second(myIntegerValue2),other(myIntegerValue3), last(myIntegerValue4) } | |
33 | ||
34 | myIntegerValue5 MyIntegerType2 ::= first | |
35 | ||
36 | myIntegerValue6 MyIntegerType2 ::= second | |
37 | ||
38 | myIntegerValue7 MyIntegerType2 ::= other | |
39 | ||
40 | myIntegerValue8 MyIntegerType2 ::= last | |
41 | ||
42 | END |