Command Reference : Matrix Language Reference
  
 
@columns
Syntax: @columns(o)
Argument: matrix, vector, rowvector, sym, scalar, or series, o
Return: integer
Returns the number of columns in the matrix object o. Example:
scalar sc2 = @columns(m1)
vec1(2) = @columns(s1)
See also @rows.