Difference between revisions of "CLEAR READ"

From Recital Documentation Wiki
Jump to: navigation, search
 
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
=CLEAR READ=
 
 
 
==Class==
 
Screen Forms
 
 
 
 
==Purpose==
 
==Purpose==
 
Exit the active READ
 
Exit the active READ
Line 15: Line 8:
  
 
==See Also==
 
==See Also==
[[@...CLEAR]], [[@...GET]], [[CLEAR]], [[CLEAR ALL]], [[CLEAR GETS]], [[CLEAR LOCKS]], [[CLEAR MEMORY]], [[CLEAR MENUS]], [[CLEAR SCREEN]], [[EDIT]], [[READ]]
+
[[@...CLEAR]], [[@...GET]], [[CLEAR]], [[CLEAR ALL]], [[CLEAR GETS]], [[CLEAR KEYS]], [[CLEAR LOCKS]], [[CLEAR MEMORY]], [[CLEAR MENUS]], [[CLEAR SCREEN]], [[EDIT]], [[ON KEY]], [[READ]], [[RESTORE GETS]], [[SAVE GETS]]
  
  
Line 34: Line 27:
  
 
function clearexit
 
function clearexit
clear read
+
    clear read
 
return
 
return
 
</code>
 
</code>
Line 40: Line 33:
  
 
==Products==
 
==Products==
Recital Mirage Server, Recital Terminal Developer
+
Recital  
 
[[Category:Documentation]]
 
[[Category:Documentation]]
 
[[Category:Commands]]
 
[[Category:Commands]]
 +
[[Category:Screen Forms]]
 +
[[Category:Screen Forms Commands]]

Latest revision as of 14:58, 10 November 2009

Purpose

Exit the active READ


Syntax

CLEAR READ [ALL]


See Also

@...CLEAR, @...GET, CLEAR, CLEAR ALL, CLEAR GETS, CLEAR KEYS, CLEAR LOCKS, CLEAR MEMORY, CLEAR MENUS, CLEAR SCREEN, EDIT, ON KEY, READ, RESTORE GETS, SAVE GETS


Description

The CLEAR READ command exits the active READ. If the active READ is nested, control is returned to the parent READ. If the ALL keyword is specified all READs are terminated.


Example

set compatible to foxpro 
 
@2,2 say "First Name:"
@4,2 say "Last Name:"
@2,16 get firstname size 1,24 default ""
@4,16 get lastname size 1,24 default ""
on key label f3 clearexit()
read 
 
function clearexit
    clear read
return


Products

Recital