This function converts an integer array of
Unicode character codes to a string.
Function |
Group |
Execution |
Windows |
Embedded |
Thin Client |
ValueToChar
|
String |
Synchronous |
Supported |
Supported |
Supported |
Syntax
ValueToChar("tagArray",numQtdChars)
- tagArray
- The name of the integer array containing the
values to be converted. If no array index is specified, then the
default is 0.
Note: The tag
name must be enclosed in quotes, as shown in the syntax diagram, or
else the project will try to get the value of the named
tag.
- numQtdChars
- The number of values to be converted (minimum of
1), starting with the specifed array index.
Returned value
Returns a string comprising the converted values.
Examples
If Array[0] = 65, Array[1] = 66, and Array[2] = 67,
then the returned value will be "ABC":
ValueToChar( "Array", 3 )
If Array[10] = 65, Array[11] = 66, and Array[12] =
67, then the returned value will be "ABC":
ValueToChar( "Array[10]", 3 )