Debian Codegraph @

terps/tads/tads3/test/data/extfunc2.t

raw
1 /*
2 * test of 'extern function' declarations
3 */
4
5 #include "tads.h"
6
7 extern function test1(a, b, c);
8 extern function test2(d, e);
9
10 function test1(a, b, c)
11 {
12 tadsSay('++ this is test1(' + a + ', ' + b + ', ' + c + ')\n');
13 tadsSay('++ calling test2(888,999)...\n');
14 test2(888, 999);
15
16 tadsSay('++ back in test1 - returning\n');
17 }