%HI_Value_To_Clipboard function


Function
Function copies a value to clipboard.
Declaration
%HI_Value_To_Clipboard(
   UNIVAL in value,
   BOOL   in formatByNLS := @FALSE
 )

Parameters
value Data type to be copied (TEXT, INT, REAL, TIME, BOOL).
formatByNLS Optional parameter. Possible values:
  • @TRUE - values of Absolute time and Real are to be formatted according to the settings in Regional and Language Options of the current user,
  • @FALSE - values are to be formatted according to default settings of D2000 (see  EXPORT_CSV).

Description
The function converts value of data type to text which will be sent to clipboard.
Note
The function copies elementary data type (TEXT, INT, REAL, TIME, BOOL).
Example
 TEXT _text
 
 _text := "Value of _text"
 
 ; copy to Clipboard
 %HI_Value_To_Clipboard(_text) 

Napíšte komentár