CLEAR READ

From Recital Documentation Wiki
Revision as of 14:53, 18 March 2009 by Yvonnemilne (Talk | contribs)

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

CLEAR READ

Class

Screen Forms


Purpose

Exit the active READ


Syntax

CLEAR READ [ALL]


See Also

@...CLEAR, @...GET, CLEAR, CLEAR ALL, CLEAR GETS, CLEAR LOCKS, CLEAR MEMORY, CLEAR MENUS, CLEAR SCREEN, EDIT, READ


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