LogiView

Function 'chr'

     

This functions returns the character to a specified ASCII code.

 

Syntax:

  {STR_VAR}= chr({INT_VAR})
 

Imput/Output parameter:

{INT_VAR} ASCII Code.
-  
 

Rückgabewert:

 
{STR_VAR} Character represented by the ASCII Code.
 

Example:

  Variable Declaration
 
10 DOCU_STR_1=chr(66)

20 put(DOCU_STR_1)
 

Result:

The letter "B" is returned (ASCII-Code 66).

Functions and Commands: Type Conversion