Top Method Summary
Options Name Purpose
CHARACTER EscapeString (character) Returns a value as the content of a JSON string
CHARACTER GetHexByte (integer) Returns a number between 0 and 255 as two hexadecimal digits
CHARACTER GetSortValue (character) Returns the value records are sorted by
WriteFile (character, character, table) Writes a translation resource file


Method Detail
Top

CHARACTER EscapeString (character)

Purpose: Returns a value as the content of a JSON string
Notes: Escapes the quotation mark, the backslash and the control characters
like JSON.stringify of JavaScript. All other characters are written
as they are

Parameters:
pcValue CHARACTER
The value
Returns CHARACTER
The escaped value, without the enclosing quotation marks
Top

CHARACTER GetHexByte (integer)

Purpose: Returns a number between 0 and 255 as two hexadecimal digits
Notes:

Parameters:
piValue INTEGER
The number
Returns CHARACTER
The two lower case hexadecimal digits
Top

CHARACTER GetSortValue (character)

Purpose: Returns the value records are sorted by
Notes: The hexadecimal UTF-8 bytes of the value. Their order is the order
of the character codes, whatever the code page and the collation
of the session are

Parameters:
pcValue CHARACTER
The scope or the key
Returns CHARACTER
The sort value
Top

WriteFile (character, character, table)

Purpose: Writes a translation resource file
Notes: An existing file is replaced

Parameters:
pcFileName CHARACTER
The name of the file
pcLanguageIsoCode CHARACTER
The ISO code of the language of the file, empty for the default language
ttTranslationResourceRecord TEMP-TABLE ttTranslationResourceRecord
TABLE with the records of the file


Temp-Table Detail

Temp-Table ttTranslationResourceRecord

Defined in:


©2006-2026 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       24.11.2026 10:10:32