READEXIT()

From Recital Documentation Wiki
Revision as of 17:00, 20 March 2009 by Yvonnemilne (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

READEXIT()

Class

Screen Forms


Purpose

Function to control read termination from keyboard


Syntax

READEXIT([<expL>])


See Also

SET KEY, SET PCKEYS


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 Mirage Server, Recital Terminal Developer