CREATE PLBOBJECT


PLBCMP GUI Only, 10.6

 

The CREATE PLBOBJECT statement initializes a PLBOBJECT object variable. The statement format is:

 

 

[label]

CREATE

{plbobject}[,CLASS={targetclassname}

 

Where:

label

Optional. A Program Execution Label.

plbobject

Required. The name of a previously defined PLBOBJECT object variable.

targetclassmod

Optional. A Character String Variable or Literal that identifies the CLASSMODULE load module program name used for the PLBOBJECT.parameter.

Flags Affected: NONE

Note the following:

  1. This CLASS parameter is only allowed when the PLBOBJECT declaration does not include the CLASS keyword parameter.

  2. When the CREATE statement is executed, the PL/B runtime loads the CLASSMODULE load module with a unique internal alias. This specific CLASSMODULE is used for all PLBOBJECT instructions executed after the CREATE.

  3. After the PLBOBJECT load module is created, the PL/B runtime executes the ClassCreate FUNCTION in the CLASSMODULE.

 

 

See Also: CREATE, Object Output Instructions

 



PL/B Language Reference