DeleteAllRows Method (DATATABLE)
10.5, PLBCMP GUI Only
The DeleteAllRows method removes all rows in the DATATABLE. It clears all row data, the undo stack, and the state flags. The method uses the following format:
|
|
|
|
Where:
label
Optional. A Program Execution Label.
object
Required. A DATATABLE object.
return
Optional. A Numeric Variable that always returns a non-zero value.
Flags Affected: EOS, OVER, ZERO
Note the following:
The EOS flag is always cleared.
The ZERO flag is set if the {return} value is zero.
The OVER flag is set if the {return} variable is too small to receive the return value.
See Also: Method Syntax, DATATABLE Methods
![]() |