FB_Exit
Short summary
Mark the object as deleted, as it staiys in the memory.
- Return type:
BOOL
Parameters
| Name | Type | Comment | Kind |
|---|---|---|---|
| bInCopyCode | BOOL | TRUE: the exit method is called in order to leave the instance which will be copied afterwards (online change). | input |
Code
Declaration
METHOD FB_Exit : BOOL
VAR_INPUT
(* TRUE: the exit method is called in order to leave the instance which will be copied afterwards (online change).*)
bInCopyCode : BOOL;
END_VAR
Implementation
IF (THIS^.isObjectValid(THIS^.dataObject)) THEN
THIS^.dataObject.deepDestruct();
END_IF