Top | Up (Array) | < Previous (PAGE NAME) | Next (PAGE NAME) >
Checks the length of a string or array.
For multidimensional arrays, LEN returns the total number of items in the array.
There is no way to find the number of dimensions in an array, or to check the size of a specific dimension.
LEN string$ OUT length%
LEN array[] OUT length%
PRINT LEN("test") '4
DIM A[7]
PRINT LEN(A) '7
DIM B[4,3]
PRINT LEN(B) '12