READEXIT()

From Recital Documentation Wiki
Jump to: navigation, search

Purpose

Function to control read termination from keyboard


Syntax

READEXIT([<expL>])


See Also

Function Keys, READ, SET KEY, SET PCKEYS , SET READEXIT


Description

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.


Example

? readexit()
.T.
readexit(.F.)
? readexit()
.F.


Products

Recital