|
| Previous: 2.10.1 Interface Declarations | TOC | Index | Back | Next: 2.10.3 A Sample Interface |
To the T3X programmer, an interface procedure is a method of an interface class. In order to invoke an interface procedure, the interface class is instantiated a message is sent to the resulting object:
ICLASS world("world_code")
IDECL hello(2,1);
END
MODULE test(world);
OBJECT aWorld[world];
DO
aWorld.hello("Hello, world!\n", 5);
END
| Previous: 2.10.1 Interface Declarations | TOC | Index | Back | Next: 2.10.3 A Sample Interface |