SAVEGETS()
From Recital Documentation Wiki
Revision as of 16:09, 28 October 2009 by Helengeorge (Talk | contribs)
Purpose
Save status of current GETS
Syntax
SAVEGETS()
See Also
@...GET, CLEAR GETS, FMT(), READ, RESTGETS(), RESTORE GETS, RESTORE SCREEN, SAVE GETS, SAVE SCREEN
Description
The SAVEGETS() function lets you save a description of the GETS in the current screen form for subsequent retrieval by the RESTGETS() function. Always assign the return value of SAVEGETS() to a memory variable, as this is required by the RESTGETS() function.
Example
// Set up validation procedure procedure checkit parameters check save screen // Specify SAVEGETS() and CLEAR GETS before @...gets m_save=savegets() clear gets @0,1 get field4 // Activate gets in validation procedure read // Reactivate reads in main screen form if not empty(field4) set validate on endif restgets(m_save) restore screen return clear @1,1 get field1 @2,1 get field2 when field1="g" @3,1 get field3 validate with checkit read
Products
Recital Mirage Server, Recital Terminal Developer