meta data for this page
Differences
This shows you the differences between two versions of the page.
| automation:char_type_variables [2026/01/06 13:34] – created - external edit 127.0.0.1 | automation:char_type_variables [2026/01/16 13:25] (current) – vamsan | ||
|---|---|---|---|
| Line 4: | Line 4: | ||
| The extended version of CHAR is **WCHAR** (wide-character), | The extended version of CHAR is **WCHAR** (wide-character), | ||
| + | |||
| + | When declaring an operand of data type WSTRING you can define its length using square brackets (for example WSTRING[10]). If you do not specify a length, the length of the WSTRING is set to 254 characters by default. | ||
| ^Type^Name^Bit^Code table^Value range HEX^Value range DEC^Example| | ^Type^Name^Bit^Code table^Value range HEX^Value range DEC^Example| | ||
| Line 9: | Line 11: | ||
| |**WCHAR**|Wide character|16|UCS-2|$0000 - $D7FF|0 .. 55.295|WCHAR#' | |**WCHAR**|Wide character|16|UCS-2|$0000 - $D7FF|0 .. 55.295|WCHAR#' | ||
| + | == Special characters == | ||
| + | A character string can also contain special characters. The escape character $ is used to identify control characters, dollar signs and single quotation marks. | ||
| + | |||
| + | |< 100%>| | ||
| + | ^Character^Hex^Meaning^Example| | ||
| + | ^$L or $l|000A|Line feed|' | ||
| + | ^$N|000A and 000D|Line break \\ The line break occupies 2 characters in the character string.|' | ||
| + | ^$P or $p|000C|Page feed|' | ||
| + | ^$R or $r|000D|Carriage return (CR)|' | ||
| + | ^$T or $t|0009|Tab|' | ||
| + | ^$$|0024|Dollar sign|' | ||
| + | ^$' | ||