t3x.org / t3x / t3x-manual / 2A.html
 
T3X - A Minimum Procedural Language
Version 8.1.5, Online Edition
Copyright(C) 1996-2004
Nils M Holm
 
Previous:
2.9.6 Class Constants
TOC | Index | Back Next:
2.10.1 Interface Declarations

2.10 Interface Classes

An interface class is a class depending on an external object file called an extension object. Extension objects may be linked against the Virtual Tcode Machine or against native code generated by the T3X compiler.

The declaration of an interface class begins with an ICLASS statement. This statement has the following general form:

ICLASS class_name ("extension_object_name")

Class_name is the name of the class to declare and extension_object_name is the name of the object file holding the code of the interface class. The name of the object file must be specified without any suffixes such as ".o" or ".lib".

Like other class contexts, interface class contexts are terminated with the keyword END.

Previous:
2.9.6 Class Constants
TOC | Index | Back Next:
2.10.1 Interface Declarations