~ubuntu-branches/ubuntu/wily/gargoyle-free/wily-proposed

« back to all changes in this revision

Viewing changes to tads/tads3/test/data/propaddr.t

  • Committer: Bazaar Package Importer
  • Author(s): Sylvain Beucler
  • Date: 2009-09-11 20:09:43 UTC
  • Revision ID: james.westby@ubuntu.com-20090911200943-idgzoyupq6650zpn
Tags: upstream-2009-08-25
ImportĀ upstreamĀ versionĀ 2009-08-25

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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