cfad47cfa3/t3compiler/tads3/test/data/vocext2.t
| 4b825dc642cb6eb9a060e54bf8d69288fbee4904 | cfad47cfa334b206c65f22086bcc5d63e6f70944 | ||
|---|---|---|---|
1 | /* | ||
2 | * vocabulary test | ||
3 | */ | ||
4 | |||
5 | #include "tads.h" | ||
6 | #include "t3.h" | ||
7 | #include "dict.h" | ||
8 | |||
9 | dictionary G_dict; | ||
10 | dictionary property noun, adjective, plural; | ||
11 | |||
12 | modify Book | ||
13 | noun = 'chapter' | ||
14 | replace adjective = 'ancient' | ||
15 | ; | ||
16 | |||
17 | blueBook: Book | ||
18 | adjective = 'blue' | ||
19 | sdesc = "blue_book" | ||
20 | ; | ||
21 | |||
22 | class SwitchItem: Item | ||
23 | noun = 'switch' | ||
24 | ; | ||
25 |
Download diff