Functions for managing arrays
These functions allow you to easily handle the Array, Associative Array and Dynamic Array variables:
Adds an element in last position: •of a one-dimensional WLanguage array. •of an advanced array property (array of events of gglCalendar, etc.). •from a WLanguage list. |
|
Adds a column at the end of a two-dimensional array property (xlsDocument variable for example]). |
|
Adds a row at the end: •of a one- or two-dimensional WLanguage array. •of a two-dimensional array property of a variable type (xlsDocument variable for example). |
|
Adds the reference of an object at the last position in a one-dimensional array. |
|
|
Executes a procedure for each element of a WLanguage array. |
Adds an element in last position: •of a one-dimensional WLanguage array. •of an advanced array property (array of events of gglCalendar, etc.). •of a WLanguage list. |
|
Adds a row at the end: •of a one- or two-dimensional WLanguage array. •of an advanced two-dimensional array property (xlsDocument, etc.). |
|
Adds the reference of an object at the last position in a one-dimensional array. |
|
Adds an element to a one-dimensional WLanguage array taking into account the sort criterion defined by ArraySort. |
|
Copies the content of an array into another array. |
|
Returns: •the number of elements found in a one-dimensional array. •the number of rows found in a two-dimensional array. •the number of elements found in the first dimension of a three-dimensional or N-dimensional array. |
|
Deletes an element at a given position: •from a one-dimensional WLanguage array. •from an advanced array property (array of gglCalendar events, etc.). •from an associative array. •from a WLanguage list. |
|
Deletes all elements: •from a one-dimensional or two-dimensional WLanguage array. •from an associative array. •from an advanced array property (array of gglCalendar events, etc.). •from a WLanguage queue. •from a WLanguage stack. •from a WLanguage list. |
|
Deletes the duplicates from an array. |
|
Deletes a row at a given position: •from a two-dimensional array. •from the advanced array property (array of gglCalendar events, etc.) The array size is automatically reduced. |
|
Returns the characteristics of an array: type of elements, number of dimensions, dimensions, etc. |
|
Inserts an element at a given position: •into a one-dimensional array. •into an associative array. •into an advanced array property (array of gglCalendar events, etc.). •into a WLanguage list. |
|
Inserts a row at a given position: •into a two-dimensional WLanguage array. •into an advanced two-dimensional array property (xlsDocument, etc.). |
|
Adds the reference of an object at given position in a one-dimensional array. |
|
Allows you to: •move an element in a one-dimensional WLanguage array or in an advanced array property (array of gglCalendar events, etc.). The other array elements are moved accordingly. •swap two elements in a one-dimensional WLanguage array or in an advanced array property (array of gglCalendar events, etc.). |
|
Allows you to: •move a row in a two-dimensional array or in an advanced array property. The other array rows are moved accordingly. •swap two rows in a two-dimensional array or in an advanced array property. |
|
Reverses the content of a one-dimensional array. |
|
Seeks the subscript of an element in a WLanguage array. |
|
Seeks an element in a one-dimensional WLanguage array by using a comparison procedure. |
|
Shuffles the elements of a WLanguage array. |
|
Sorts a WLanguage array. |
|
Used to swap two rows in a two-dimensional array or in an advanced array property. |
|
Converts a one-dimensional array or a two-dimensional array into a character string in CSV format. |
|
Converts a one-dimensional array or a two-dimensional array into a character string. |
|
|
Returns True if all the elements of an array are False. |
|
Returns True if all the elements of an array are True. |
|
Returns True if at least one element of an array is False. |
|
Returns True if at least one element of an array is True. |
Fills a one- or two-dimensional array of the specified type with the character string in CSV format passed in parameter. |
|
Deletes an element at a given position: •from a one-dimensional WLanguage array. •from an advanced array property (array of gglCalendar events, etc.). •from an associative array. •from a WLanguage list. |
|
Deletes all the elements: •from a one-dimensional or two-dimensional WLanguage array. •from an associative array. •from an advanced array property (array of gglCalendar events, etc.). •from a WLanguage queue. •from a WLanguage stack. •from a WLanguage list. |
|
Deletes a column at a given position from the advanced array property (array of gglCalendar events, etc.). |
|
Deletes a line at a given position: •from a two-dimensional array. •from the advanced array property (array of gglCalendar events, etc.). |
|
Fills an array of classes or structures with the content of a HFSQL data file or query. |
|
Returns an array containing the elements of a source array for which a procedure returns True. |
|
Inserts an element at a given position: •into a one-dimensional WLanguage array. •into an associative array. •into an advanced array property (array of gglCalendar events, etc.). •into a WLanguage list. |
|
Inserts a column at a given position into an advanced two-dimensional array property (xlsDocument, ...). |
|
Inserts a row at a given position: •into a two-dimensional WLanguage array. •into an advanced two-dimensional array property (xlsDocument, etc.). |
|
Adds the reference of an object at given position in a one-dimensional array. |
|
Executes a procedure on each element of a source array and returns the results in a WLanguage array. |
|
Allows you to: •move an element in a one-dimensional WLanguage array or in an advanced array property (array of gglCalendar events, etc.). The other array elements are moved accordingly. •swap two elements in a one-dimensional WLanguage array or in an advanced array property (array of gglCalendar events, etc.). |
|
Moves or swaps a column in a two-dimensional array property of advanced type (xlsDocument, ...). |
|
Allows you to: •move a row in a two-dimensional WLanguage array or in an advanced array property. The other array rows are moved accordingly. •swap two rows in a two-dimensional WLanguage array or in an advanced array property. |
|
Applies a computation to each element of a WLanguage array. |
|
Seeks the subscript of an element in a WLanguage array. |
|
Seeks an element in a one-dimensional array by using a comparison procedure. |
|
Sorts a WLanguage array. |
|
Fills a one- or two-dimensional array of the specified type with the character string passed in parameter. |
|
Used to swap two rows in a two-dimensional array or in an advanced array property. |
Other functions also available for the arrays:
Calculates the mean of several elements: •elements found in an array, •numeric values, ... |
|
Calculates the sum of the array elements. |
Remark: To reset all the array elements to their initial value, use VariableReset.