cfad47cfa3/t3compiler/tads3/test/data/novec2.t

4b825dc642cb6eb9a060e54bf8d69288fbee4904cfad47cfa334b206c65f22086bcc5d63e6f70944
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
    local result;
12
    
13
    /* say hello */
14
    "This is main() - restartID = <<mainGlobal.restartID>>\n";
15
16
    /* try saving */
17
    result = saveGame('novec2.t3s');
18
    if (result != nil)
19
    {
20
        "Successfully restored!\n";
21
    }
22
    else
23
    {
24
        "Successfully saved - now trying restore.\n";
25
        restoreGame('novec2.t3s', 1);
26
    }
27
}