Debian Codegraph @

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

raw
1 #include <tads.h>
2
3 main(args)
4 {
5 if (args.length() == 2)
6 throw new ProgramException(args[2]);
7 else
8 throw new ProgramException('usage: unhandled_exc <message>');
9 }
10