OPCHR

Function

OPCHR outputs characters to the screen which have their ASCII values defined as decimal argument(s).

Syntax

OPCHR numerical exprssion 1, numerical expression 2...

Examples

OPCHR 61,62

displays =>

OPCHR 1

clears the screen.

Remarks

This permits computing of characters and also advanced functions such as cursor addressing. The argument should be 0 - 255. Arguments greater than 255 will give an argument error.

Cursor addressing:

Example:

OPCHR 15,5,3

The argument 15 instructs HUNTER Basic to interpret the following two arguments as cursor co-ordinates x,y respectively. It must be noted that re-positioning the cursor in this manner will not cause the virtual screen window to be re-positioned over the relevant area of the virtual screen automatically. If automatic re-positioning is required then use LOCATE.