cfad47cfa3/t3compiler/tads3/test/data/novec.t
| 4b825dc642cb6eb9a060e54bf8d69288fbee4904 | cfad47cfa334b206c65f22086bcc5d63e6f70944 | ||
|---|---|---|---|
1 | #charset "us-ascii" | ||
2 | |||
3 | #include <tadsgen.h> | ||
4 | |||
5 | /* | ||
6 | * program without including vector metaclass definition, to test | ||
7 | * creation of metaclass globals | ||
8 | */ | ||
9 | main(args) | ||
10 | { | ||
11 | if (mainGlobal.restartID > 10000) | ||
12 | { | ||
13 | "Done!\n"; | ||
14 | return; | ||
15 | } | ||
16 | |||
17 | /* say hello */ | ||
18 | "This is main() - restartID = <<mainGlobal.restartID>>\n"; | ||
19 | |||
20 | /* try restarting */ | ||
21 | restartGame(_mainRestart, mainGlobal.restartID + 1); | ||
22 | } | ||
23 |
Download diff