SET READEXIT

From Recital Documentation Wiki
Jump to: navigation, search

Purpose

Control of read termination from keyboard


Syntax

SET READEXIT ON | OFF | (<expL>)


See Also

@...GET, @...SAY, Function Keys, READ, READEXIT(), SET EDITFIELD, SET PCKEYS


Description

If READEXIT is set ON, then termination of a read, by using the [CURSOR UP] and [CURSOR DOWN] keys, is enabled. When READEXIT is set OFF, termination of a read, by using the [CURSOR UP] and [CURSOR DOWN] keys, is disabled. The command PCKEYS must be set ON for READEXIT to have any effect. By default, READEXIT is set ON. The READEXIT command is synonymous with the READEXIT() function.


Example

set pckeys on
set readexit on
m_var = space(10)
read


Products

Recital