Equinox Online Help - Language Reference - A to Z

Home

ListDelete

Applies to
SyntaxListDelete ListItem, IndexExpression
Action[Statement] Deletes an item within a combo field.
ScopeOnly usable in form methods.
Notes

This statement is used to delete values within the combo field specified by the ListItem parameter. The position to delete is determined by IndexExpression. If IndexExpression is -1 the value deleted is the one at the end of the list.

The system workarea SysError is set to a non-zero value if an error occurs, otherwise zero.

CategoryCombo lists
See Also ListAppend, ListCount, ListDeleteString, ListEmpty, ListFind, ListInsert, ListRead, ListReset, ListSpace
Example

This simple example inserts the value located at position 5 in an existing list.

ListDelete County, 5