Introduction MTB Statements File System Compiler Applications Reference Guide Index

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

(Single Key Transmit)

Mnemonic: (Single Key Transmit)
Hex equivalent: "040002@"
Discussion: This mnemonic sets the "single key transmit" mode, in which a single keystroke causes an immediate transmission of data to the program (without pressing Enter or crossing past a transmit mark).

This mode must be reset each time it is to be used.

Example:
a. 100 FORMAT (Single Key Transmit)
   .
   PRINT (0,100)
   INPUT (0) DATA$                    ! wait for next keystroke

b. PRINT (0) (Single Key Transmit)
   INPUT (0) DATA$                    ! wait for next keystroke