Porovnávané verzie
porovnané s
Kľúč
- Tento riadok sa pridal
- Riadok je odstránený.
- Formátovanie sa zmenilo.
DELETEOBJECT action
Function
The action will delete an object from the system configuration.
Declaration
Blok kódu | ||||
---|---|---|---|---|
| ||||
DELETEOBJECT objId |
Parameters
objIdent | in | Identifier of Int type. |
Description
The action will delete the object from the system configuration, given by the unique identifier objId. The identifier is Int type. The action works asynchronously, so it is not possible to verify the action success and the action does not wait for the real execution of the deleting. Deleted object must not be used.
Example
Blok kódu | ||||
---|---|---|---|---|
| ||||
BEGIN ALIAS _newGraph INT _newGraphHBJ COPYOBJECT D.graf, "D.novyGraf", _newGraph IF _newGraph\HBJ = 0 THEN ELSE OPEN _newGraph ON srvskolv.HIP ;opening graph DELAY 2[s] ;2 seconds delay of script execution CLOSE _newGraph ON srvskol1v.HIP ;closing graph _newGraphHBJ := _newGraph\HBJ DELETEOBJECT _newGraphHBJ ;deleting graph ENDIF END |