INTERFACE defines interfaces or declares them in advance.
The definition of an interface consists of a declaration
part that starts with
INTERFACEand is ended using
ENDINTERFACE. Unlike classes, an interface does not have an implemenation part.
Additional variants of
ENDINTERFACEare used for the advance declaration of interfaces in a program.
INTERFACE and associated statements
can be specified only in the global context of a program.
ENDINTERFACE cannot be specified within classes, procedures, and processing blocks implemented
internally as a procedure (event blocks for
This applies in particular to the variant of
INTERFACE specified here, which is not closed using
The definition or advance declaration of an interface is handled like other declaration statements
TYPE, ...). In a processing block without a local context, they are handled like global program declarations and do not end the processing block.
The obsolete variant
INTERFACE ... LOADwas used to load interfaces explicitly.