terps/tads/tads3/test/data/props.t
raw| 1 | #include "tads.h" |
| 2 | #include "t3.h" |
| 3 | |
| 4 | _main(args) |
| 5 | { |
| 6 | t3SetSay(&_say_embed); |
| 7 | main(); |
| 8 | } |
| 9 | |
| 10 | _say_embed(str) |
| 11 | { |
| 12 | tadsSay(str); |
| 13 | } |
| 14 | |
| 15 | main() |
| 16 | { |
| 17 | test.p3 = 'new property test.p3'; |
| 18 | test.p2 = 'updated test.p2'; |
| 19 | } |
| 20 | |
| 21 | test: object |
| 22 | p1 = 'This is test.p1' |
| 23 | p2 = 'And this is test.p2' |
| 24 | ; |
| 25 |