@DigitsToText
Syntax
@DigitsToText(TEXT1);
@DigitsToText(TEXT1;OPTIONS1);
@DigitsToText(TEXTLIST1);
@DigitsToText(TEXTLIST1;OPTIONS1);
Description
Converts the ASCII-CHAR values in TEXT/TEXTLIST TEXT1/TEXTLIST1 to the corresponding ASCII texts and returns them as TEXT/TEXTLIST.
The second parameter specifies the number system in which the ASCII-CHAR values in TEXT1/TEXTLIST1 are specified.
If no second parameter is specified, decimal ASCII-CHAR values are assumed automatically.
For decimal notation, the ASCII-CHAR values may have at most 3 digits; for hexadecimal notation, they may have at most 2 digits.
The individual ASCII-CHAR values are separated by SPACES (" ").
OPTIONS1:
D =Decimal ASCII-CHAR values
H =Hexadecimal ASCII-CHAR values
Example @DigitsToText(TEXT1);
Text:=@DigitsToText("49 49 50 50");
Text is assigned the TEXT "1122".
Example @DigitsToText(TEXT1;OPTIONS1);
Text:=@DigitsToText("49 49 50 50";"H");
Text is assigned the TEXT "IIPP".
Example @DigitsToText(TEXTLIST1);
Text:=@DigitsToText("49 49 50 50":"116 101 115 116");
Text is assigned the TEXTLIST "1122":"test".
Example @DigitsToText(TEXTLIST1;OPTIONS1);
Example 1:
Text:=@DigitsToText("49 49 50 50":"116 101 115 116";"D");
Text is assigned the TEXTLIST "1122":"test".
Example 2:
Text:=@DigitsToText("31 31 32 32":"74 65 73 74";"H");
Text is assigned the TEXTLIST "1122":"test".
Note : This text was machine-translated and may contain inaccuracies.
