WINDEV, WEBDEV AND WINDEV MOBILEONLINE HELP
Version: 1516171819202122232425
Deleting an element from a WLanguage array or from an advanced array property Hide the details
Number of deleted elements (always corresponds to 1).
Name of Array variable to use. This array must be a one-dimensional array.
Subscript of element to delete. A WLanguage error occurs if this parameter is greater than the number of array elements. Versions 17 and laterThe following constants can be used:FirstElementThe first array element is deleted.CurrentElementThe current element is deleted. This constant is used to delete the current element during a FOR EACH browse.This constant is only available for associative arrays.New in version 17The following constants can be used:FirstElementThe first array element is deleted.CurrentElementThe current element is deleted. This constant is used to delete the current element during a FOR EACH browse.This constant is only available for associative arrays.The following constants can be used:FirstElementThe first array element is deleted.CurrentElementThe current element is deleted. This constant is used to delete the current element during a FOR EACH browse.This constant is only available for associative arrays.
Deleting an element from an associative array Hide the details
Number of deleted elements:1 or 0 for the associative arrays without duplicates.0 to N for the associative arrays with duplicates.
Name of Associative Array variable to use.
Value of key corresponding to the element to delete.In an associative array without duplicate: If the element exists, it is deleted ; if the element does not exist, no operation is performed.In an associative array with duplicates: If the element exists, all the <Element Key> elements are deleted ; if the element does not exist, no operation is performed.This parameter can also correspond to the CurrentElement constant. This syntax is used to delete the current element during a FOR EACH browse.
Deleting an element from a list Hide the details
Number of deleted elements (1 for the lists).
Name of List variable to use.
Subscript of list where the element will be deleted. The following constants can be used: FirstElementThe first element found in the list is deleted.LastElementThe last element found in the list is deleted.CurrentElementThe current element is deleted. For a list, this constant is available when browsing the list elements (during a FOR EACH browse).
Deleting the last element
Miscellaneous
Last update: 11/19/2019
Send a report | Local help
Searching...
J'accepte les termes de la licence
All you have to do is configure your product as follows: