%GetColsNr function


Function
The function returns a column count of a structure.


Declaration
INT %GetColsNr(
  HBJ in objRef
 )
Parameters
Description
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  
Napíšte komentár