Introduction MTB Statements File System Compiler Applications Reference Guide Index

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

(WC)

Mnemonic: (WC)
Hex equivalent: "@0E07@"
Discussion: The (WC) control code writes to the control line (a.k.a. "message line") of the controlling terminal. Subsequent data on the current write is displayed on the control line at the bottom of the screen display.

Typically, the control line is used to display special messages and/or warnings.

Note: The (WC) control code sends messages to the controlling device only, not to other terminals or devices. To send a message to another terminal, you must use the DOSRW function, explained in the DOS Function Calls section.

Example:
a. 100 FORMAT (WC);"This is a message."
   .
   PRINT (0,100)

b. PRINT (0) (WC);"This is a message."