Difference between revisions of "SET READEXIT"

From Recital Documentation Wiki
Jump to: navigation, search
 
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
=SET READEXIT=
 
 
 
==Class==
 
Screen Forms
 
 
 
 
==Purpose==
 
==Purpose==
 
Control of read termination from keyboard
 
Control of read termination from keyboard
Line 15: Line 8:
  
 
==See Also==
 
==See Also==
SET EDITFIELD, SET PCKEYS, READEXIT()
+
[[@...GET]], [[@...SAY]], [[Function Keys]], [[READ]], [[READEXIT()]], [[SET EDITFIELD]], [[SET PCKEYS]]
  
  
Line 23: Line 16:
  
 
==Example==
 
==Example==
<pre>
+
<code lang="recital">
 
set pckeys on
 
set pckeys on
 
set readexit on
 
set readexit on
 
m_var = space(10)
 
m_var = space(10)
read</pre>
+
read
 +
</code>
  
  
 
==Products==
 
==Products==
Recital Terminal Developer
+
Recital  
 +
[[Category:Documentation]]
 +
[[Category:Commands]]
 +
[[Category:Set_Commands|READEXIT]]
 +
[[Category:Screen Forms]]
 +
[[Category:Screen Forms Set Commands]]

Latest revision as of 15:22, 25 November 2009

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