Type Transfer

Type casting converts data from its original form to the new form. To keep the same bit-pattern you must use either the TRANSFER built-in function or the type transfer syntax, which is similar to type casting syntax with the addition of angle brackets (>valuetype<).

INTEGER1 MyInt := 65; //MyInt is an integer value 65
STRING1 MyVal := (>STRING1<) MyInt; //MyVal is "A" (ASCII 65)