Function to control read termination from keyboard
The READEXIT() function allows you to enable or disable the termination of a read by using the [CURSOR UP] and [CURSOR DOWN ] keys. Read termination is enabled if the result of the logical expression <expL> is .T. and disabled if .F. The READEXIT() function will return .T. if READEXIT is ON and .F. if READEXIT is OFF. The command PCKEYS must be set ON, when using the function.
? readexit() .T. readexit(.F.) ? readexit() .F.