Porovnávané verzie

Kľúč

  • Tento riadok sa pridal
  • Riadok je odstránený.
  • Formátovanie sa zmenilo.

%GetColName function


Function
The function returns the name of the specified structure column.
Declaration


Blok kódu
languageesl
themeConfluence
TEXT %
GetColName
Blok kódu
languageesl
themeConfluence
%GetColName(
    HBJ in objRef, 
    INT in index
 )
Parameters


objRefReference to an object of Structure definition or Structured variable type.
indexColumn index.
Example
The function returns the name of given column of specified structure (or structure definition) as a text. Column is given by its serial number. Expression of Hbj type returns an object attribute \HBJ.
 


Blok kódu
languageesl
themeRDark
 %GetColName(SV.Structure\HBJ, 1)    ; returns the value of "Text"
 %GetColName(SV.Structure\HBJ, 2)    ; returns the value of "Int"
 %GetColName(SV.Structure\HBJ, 10)   ; returns invalid value
 

See also the attribute: \HBJ