| 1 |
/* |
| 2 |
* Copyright (c) 2000, 2002 Michael J. Roberts. Permission is |
| 3 |
* granted to anyone to copy and use this file for any purpose. |
| 4 |
* |
| 5 |
* This is a starter TADS 3 source file. This is a complete TADS 3 |
| 6 |
* program that you can compile and run. |
| 7 |
* |
| 8 |
* To compile this game in TADS Workbench, open the "Build" menu and |
| 9 |
* select "Compile for Debugging." To run the game, after compiling it, |
| 10 |
* open the "Debug" menu and select "Go." |
| 11 |
* |
| 12 |
* This is the "advanced" starter program - it has only the minimum set |
| 13 |
* of definitions needed for a working program. If you would like some |
| 14 |
* more examples, create a new game, and choose the "introductory" |
| 15 |
* version when asked for the type of starter game to create. |
| 16 |
*/ |
| 17 |
|
| 18 |
/* include the TADS and T3 system headers */ |
| 19 |
#include <tads.h> |
| 20 |
#include <t3.h> |
| 21 |
|
| 22 |
/* |
| 23 |
* Main program body. Note that _main() is the true entrypoint into the |
| 24 |
* program, but _main() calls this routine as soon as it has completed |
| 25 |
* some set-up operations. preinit() will always be called (either |
| 26 |
* during the original compilation, or at program startup, depending on |
| 27 |
* the compilation mode) before this routine is called. |
| 28 |
*/ |
| 29 |
main(args) |
| 30 |
{ |
| 31 |
/* put your main program here */ |
| 32 |
"Hello from TADS 3!\n"; |
| 33 |
} |
| 34 |
|