Debian Codegraph @

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

raw
1 #include "tads.h"
2 #include "t3.h"
3
4 myObject: object
5 prop1 = "this is prop1"
6 prop2 = "this is prop2"
7 ;
8
9 main(args)
10 {
11 "calling prop1: <<callprop(&prop1)>>\n";
12 "calling prop2: <<callprop(&prop2)>>\n";
13 "calling prop3: <<callprop(&prop3)>>\n";
14 }
15
16 callprop(prop)
17 {
18 myObject.(prop)();
19 }
20