DataBasic Reference > MultiValue Compatibility > Statements and Intrinsic Functions > OUT Statement

Comment on this topic

Documentation Comments

Use this form to comment on this topic. You can also provide any general observations about the Online Documentation, or request that additional information be added in a future release.

Reality V15.0 ()

OUT Statement (DataBasic MultiValue Compatibility) (m6187ai+out_s.htm)

To

Reality

Version

Topic

Submitted by

Company

Location

Email address

Comment

 

 

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.

RealityV15.0Comment on this topic