OUT Statement

Outputs raw data to the display.

This function is provided for compatibility with other MultiValue systems.

Syntax

OUT value{,size}

Syntax Elements

value An expression that evaluates to an integer value, specifying the decimal value of the character to display.

size Optional. An expression that evaluates to an integer value from 1 to 6, specifying the size of the character (default, 1). This parameter is intended for future use with multi-byte character sets.

Operation

OUT converts a decimal value to the corresponding ASCII or multi-byte character. The result is displayed on the screen and the cursor is left at the end of the displayed value.

If value is greater than 256size, it is divided by 256size and the remainder is used.

Examples

OUT 97

Displays the character "a".

UC = 64
FOR I = 1 TO 26
UC += 1
OUT UC
NEXT I

Displays the letters of the alphabet in upper case: ABCDEFGHIJKLMNOPQRSTUVWXYZ.