The function returns the count of columns of the structured variable (or a structure definition) as a number. HBJ expression returns an attribute \HBJ of an object.
Example
%GetColsNr(SD.Struktura\HBJ) ; it returns a column count
%GetColsNr(SV.Struktura\HBJ) ; it returns a column count
%GetColsNr(Sec\HBJ) ; it returns an invalid value
0 komentárov