terps/tads/tads3/test/data/vocext2.t
raw| 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 |