| Action | Keywords | GB | VB6 |
|---|---|---|---|
| Verify an array | IsArray | v | v |
| Change default lower limit | Option Base | v | v |
| Declare and initialize an array | Dim, Private, Public, ReDim, Static | v | v |
| Initialise an Array from a String | Array()= StrToArr |
v | v |
| Find the limits of an array | LBound, Ubound | v | v |
| The number of elements | Dim? | v | |
| The number of indices | IndexCount | v | |
| Reinitialize an array | Erase, ReDim | v | v |
| Insert and delete elements | Insert, Delete | v | |
| Array address and size | ArrayAddr, ArraySize | v | |
| Array initialize | ArrayFill | v | |
| Sort array | QSort | v | |
| Write/Read string array | Recall, Store | v |
Note Private is a synonym to Local and Public is the same as Global.
| Action | Keywords | GB | VB6 |
|---|---|---|---|
| Create an array in a Variant | Array | v | v |
| Set value in Array in Variant | VarArraySet | v | |
| Delete element from Array in Variant | VarDelete | v | |
| Insert element into Array in Variant | VarInsert | v | |
| Save and Load an Array in a Variant | VarLoad, VarSave | v | |
| Show Contents of an Array in a Variant (debugging) | VarPrint | v | |
| ReDim an Array in a Variant | VarReDim | v | |
| Return Size of an Array in a Variant | VarSize | v |
{Created by Sjouke Hamstra; Last updated: 26/11/2023 by James Gaite}