Skip to main content

COLS

Returns the number of columns in a matrix.

Aliases: COLUMNS

CategoryMatrix
SyntaxCOLS(matrix)

Parameters

ParameterRequiredDescription
matrixRequiredThe matrix to count columns in.

Example

COLS([1, 2; 3, 4])

Auto-generated from the EngCanvas function registry.