Your Browser is not longer supported

Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...

{{viewport.spaceProperty.prod}}

OBJECT paragraph

Function

The OBJECT paragraph indicates that this Identification Division introduces an object definition.

Format


OBJECT. [IMPLEMENTS {interfacename-1}... .]


Syntax rules

  1. interfacename-1 must be the name of an interface definition that is specified in the REPOSITORY paragraph.

  2. The interface of the objects must be compatible with all interfacename-1 interfaces.

General rules

If the IMPLEMENTS clause is specified, during compilation of a class the compiler checks whether the interface of its factory object is compatible with interfacename-1. If the IMPLEMENTS clause is missing, this check cannot be carried out until the object reference for the factory object is used in connection with interfacename-1.