Page tree
Skip to end of metadata
Go to start of metadata

%GetColsNr function


Function
The function returns a column count of a structure.
Declaration
INT %GetColsNr(
  HBJ in objRef
 )

Parameters
Description
The function returns a column count of the structured variable (or structure definition) as a number. HBJ expression returns an object attribute \HBJ.
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  

Write a comment…