source: trunk/t3d-examples/basics/types.ttcn3 @ 7

Last change on this file since 7 was 7, checked in by phdmakk, 14 years ago
File size: 313 bytes
Line 
1module 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.