Introduction MTB Statements File System Compiler Applications Reference Guide Index

Language Structure Data Division I/O Format Division Procedure Division Mnemonics

(TextOut)

Mnemonic: (TextOut = x, y);printable-text
Discussion: Prints the specified printable-text at the location specified by x and y.

Character origins are at the upper-left corner of the character cell. By default, the current position is not used or updated by the function.

If an application needs to update the current position when it calls TextOut, the application can call the SetTextAlign member function with Flags set to TA.UPDATECP. When this flag is set, Windows ignores the x and y parameters on subsequent calls to TextOut, using the current position instead.

History: This mnemonic is valid in Comet98 and greater.