Porovnávané verzie

Kľúč

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

%GetItemStTextRef function



Function
The function detects HBJ of object Status text type which is attached to the entered column of the structure or structured variable.
Declaration


Blok kódu
languageesl
themeConfluence
INT %GetItemStTextRef(
   HBJ in  objRef,
   INT in col
 )
Parameters


objRef
Expression
An expression of the HBJ type - a reference to an object of the Structured variable type or Structure definition.
colColumn index.
Description
The function gets back an invalid value:


  • if objRef is the reference to an unknown object, or the object is not of the Structured variable type or Structure definition
  • if the value of parameter col is out of range which is given by columns number of relevant object.

    If a function gets back the value 0, the object Status text is not assigned to a specific column.

Example


Blok kódu
languageesl
themeRDark
 RECORD (SD.Struct)_rec
 
 INT _stTextHBJ
 _stTextHBJ := %GetItemStTextRef(SD.Struct\HBJ, 1)
 _stTextHBJ :=  %GetItemStTextRef(SV.Struct\HBJ, 3)
 _stTextHBJ :=  %GetItemStTextRef(_rec\HBJ, 2)