source:
trunk/t3d-examples/basics/types.ttcn3
@
42
| Last change on this file since 42 was 7, checked in by phdmakk, 16 years ago | |
|---|---|
| File size: 313 bytes | |
| Line | |
|---|---|
| 1 | module types { |
| 2 | |
| 3 | group subtypes { |
| 4 | type integer sampleType1 (0,1,2,3); |
| 5 | type charstring sampleType2 ("a", "b", "c") |
| 6 | } |
| 7 | group records { |
| 8 | type record sampleType3 { |
| 9 | integer field1, |
| 10 | charstring field2 |
| 11 | } |
| 12 | type record sampleType4 { |
| 13 | integer field1, |
| 14 | charstring field2, |
| 15 | boolean field3 |
| 16 | |
| 17 | } |
| 18 | |
| 19 | |
| 20 | } |
| 21 | } |
Note: See TracBrowser
for help on using the repository browser.
