ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Standard functions / Queue, stack, list and array functions / Array functions
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
Constants for managing arrays
The following constants are used to manage arrays:
ConstantDescriptionUsed by the functions
AfterCurrentElementUsed to insert an element after the current element of the list.Insert, ArrayInsert
BeforeCurrentElementUsed to insert an element before the current element of the list.Insert, ArrayInsert
LastElementUsed to handle the last element of the list.Insert, Deletes, ArrayInsert, ArrayDelete
CurrentElementUsed to handle the current element found in the list or in the associative array.Deletes, ArrayDelete
FirstElementUsed to handle the first element of the list.Insert, Deletes, ArrayInsert, ArrayDelete
tccLexicographicOrderSearch option: Sort based on the linguistic order.Seek, ArraySeek, ArrayDeleteDuplicate, ArraySort, Sort
tccRespectNumericSearch option: Sorts while respecting the order of numeric values.Seek, ArraySeek, ArrayDeleteDuplicate, ArraySort, Sort
tccIgnoreAccentSearch option: Search while ignoring the accented characters.Seek, ArraySeek, ArrayDeleteDuplicate, ArraySort, Sort
tccIgnoreCaseSearch option: Search while ignoring the case.Seek, ArraySeek, ArrayDeleteDuplicate, ArraySort, Sort
tccIgnoreSpaceSearch option: Search while ignoring the space characters found at the beginning and at the end of strings.Seek, ArraySeek, ArrayDeleteDuplicate, ArraySort, Sort
tccIgnoreInsideSpaceSearch option: Search while ignoring the space characters found inside the strings.Seek, ArraySeek, ArrayDeleteDuplicate, ArraySort, Sort
tccIgnorePonctuationAndSpaceSearch option: Search while ignoring the space characters and the punctuation characters.Seek, ArraySeek, ArrayDeleteDuplicate, ArraySort, Sort
asBinaryType of search to perform: Binary searchSeek, ArraySeek
asLinearType of search to perform: Linear searchSeek, ArraySeek
asLinearLastType of search to perform: Linear search from the last elementSeek, ArraySeek
asLinearPreviousType of search to perform: Linear search for the previous elementSeek, ArraySeek
asLinearFirstType of search to perform: Linear search from the first elementSeek, ArraySeek
asLinearNextType of search to perform: Linear search for the next elementSeek, ArraySeek
amMoveUsed to swap or move two elements or two rows in an arrayMove, MoveColumn, MoveLine, ArrayMove, ArrayMoveLine
amSwapUsed to swap or move two elements or two rows in an arrayMove, MoveColumn, MoveLine, ArrayMove, ArrayMoveLine
tiAssociativeWithDuplicateType of information to retrieve: Associative array with duplicatesArrayInfo
tiElementDefinitionType of information to retrieve: Definition of the type of elements.QueueInfo
ListInfo
StackInfo
ArrayInfo
tiDimensionType of information to retrieve: Number of elements found in a dimension of the array.ArrayInfo
tiDynamicType of information to retrieve: True if the array is a dynamic arrayArrayInfo
tiNumberColumnsType of information to retrieve: Number of columns found in a two-dimensional arrayArrayInfo
tiNumberDimensionsType of information to retrieve: Number of array dimensions (between 1 and 10)ArrayInfo
tiNumberRowsType of information to retrieve: Number of rows found in a two-dimensional arrayArrayInfo
tiTotalNumberType of information to retrieve: Total number of elements found in the arrayQueueInfo
ListInfo
StackInfoArrayInfo
tiElementSizeType of information to retrieve: Size (in bytes) of an array elementArrayInfo
tiTotalSizeType of information to retrieve: Total size (in bytes) of arrayArrayInfo
tiKeyTypeType of information to retrieve: Type of keys found in the associative arrayArrayInfo
tiElementTypeType of information to retrieve: Type of array elementsQueueInfo
ListInfo
StackInfo
ArrayInfo
asKeySort in an associative array: Associative array sorted according to the key order. If this constant is not specified, the associative array is sorted according to the order of values.ArraySort, Sort
asColumnHandles a two-dimensional array of simple elements according to several columnsArraySort, Sort
asAscendingType of sort to perform: Ascending sortArraySort, Sort
asDescendingType of sort to perform: Descending sortArraySort, Sort
asFunctionHandles a one-dimensional array by using a sort procedureArraySort, Sort
asMemberHandles a one-dimensional array of classes or structuresArraySort, Sort
ArrayDeleteDuplicate
Minimum version required
  • Version 10
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help