Debian Codegraph @

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

raw
1 #include "t3.h"
2 #include "tads.h"
3
4 function _main(args)
5 {
6 local i, j;
7
8 tadsSay('we\'re about to cause an unhandled run-time exception...\n');
9
10 i = 'hello';
11 j = 'goodbye';
12
13 i = i / j;
14
15 tadsSay('??? we shouldn\'t ever get here!\n');
16 }