DeleteStatement

(Engine-Level Function)

Description: Deletes a statement from a state.
Warning: This function should be used only by advanced programmers.
Returns: Nothing
Usage: Script Only.
Function Groups: Compilation and On-Line Modifications,  States
Related to: DeleteModule | DeleteOptional | DeleteState | DeleteVariable
Format: DeleteStatement(Statement)
Parameters:  
Statement   
Required. Any expression that gives the code value of the statement.
Comments:

Seldom (if ever) used when adding features to modern VTScada applications.

The corresponding text for the deleted statement is removed from the document file.
This statement is disabled in the run time version of VTScada. It will do nothing.