Porovnávané verzie

Kľúč

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

%HBJToStr function


Function
The function returns the name of the D2000 system object specified by its unique identifier (HOBJ).
Declaration


Blok kódu
languageesl
themeConfluence
TEXT %HBJToStr(
   HBJ in objID
 )
Parameters


objIDValue of HBJ or INT types.
Description
The function sends a query to the process D2000 Server processto detect the name of the D2000 system object defined by the parameter objID. If the object doesn't exist or the parameter is an invalid value, the function returns invalid value.
Example


Blok kódu
languageesl
themeRDark
INT _hbj
 TEXT _name
 
 ; HOBJ of the object Sec
 _hbj := %StrToHBJ("Sec")
 
 _name := %HBJToStr(_hbj)    ; variable _name will contain the value of Sec
 _name := %HBJToStr(Sec\HBJ) ; variable _name will contain the value of Sec, too
 
 ; object probably doesn't exist => _hbj is invalid value
 _hbj := %StrToHBJ("qwerty")