Vidíte historickú verziu tejto stránky. Pozrite si aktuálnu verziu.

Porovnať s aktuálnou verziou Zobraziť históriu stránky

Verzia 1 Ďalej »

%GetColDescript function


Function
The function returns the description of the specified structure column.
Declaration
TEXT %
GetColDescript
(
    HBJ in objRef, 
    INT in index
 )

Parameters
objRef Reference to an object of Structure definition or Structured variable type.
index Column index.

Example
The function returns the description 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. If column is not from the structure (or structure definition) range or the object is not the structure (or structure definition), the function returns an invalid value.
 
 INT _iHbj
 INT _icol
 BOOL _bOk
 TEXT _description
 
 _iHbj := %StrToHBJ("SV.DATA")
 _iCol := 1
 
 _bOk := %OpenRefToObject(_iHbj,@TRUE)
 IF _bOk THEN
   _description := %GetColDescript(_iHbj,_iCol)
 ENDIF

  • Žiadne štítky