Adams Basic Package
>
Adams View
>
View Function Builder
>
Design-Time Functions
>
Functions: A - C
> COLS
COLS
Returns the number of columns in a given matrix.
Format
COLS (M)
Argument
M
A given matrix.
Examples
The following examples illustrate the use of the COLS function:
Function
COLS({1, 2, 3})
Result
1
Function
COLS({[1, 2, 3]})
Result
3
Function
COLS(marker_1.location)
Result
1
Learn more about matrix/array functions
.
This site works best with JavaScript enabled