Difference between revisions of "SET AUTOSAVE"
Yvonnemilne (Talk | contribs) |
Helengeorge (Talk | contribs) |
||
(6 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
==Purpose== | ==Purpose== | ||
Save to disk after every change | Save to disk after every change | ||
Line 15: | Line 8: | ||
==See Also== | ==See Also== | ||
− | CHANGE, EDIT, FFLUSH(), SAVE GETS | + | [[CHANGE]], [[EDIT]], [[FFLUSH()]], [[SAVE GETS]] |
− | + | ||
==Description== | ==Description== | ||
Line 25: | Line 17: | ||
==Example== | ==Example== | ||
− | < | + | <code lang="recital"> |
− | set autosave on</ | + | set autosave on</code> |
==Products== | ==Products== | ||
− | Recital | + | Recital |
[[Category:Documentation]] | [[Category:Documentation]] | ||
[[Category:Commands]] | [[Category:Commands]] | ||
− | [[Category:Set_Commands]] | + | [[Category:Set_Commands|AUTOSAVE]] |
+ | [[Category:Screen Forms]] | ||
+ | [[Category:Screen Forms Set Commands]] |
Latest revision as of 16:49, 12 November 2009
Purpose
Save to disk after every change
Syntax
SET AUTOSAVE ON | OFF | (<expL>)
See Also
CHANGE, EDIT, FFLUSH(), SAVE GETS
Description
The SET AUTOSAVE command is used to enable or disable automatic saving of records to disk after every change users make. When AUTOSAVE is set ON, changes to records are saved to disk immediately following an I/O operation. The SET AUTOSAVE command has no effect in APPEND mode, where changes are saved when the [NEXT RECORD] and/or [EXIT SAVE] keys are pressed. When AUTOSAVE is OFF, pressing the [ABANDON] key reverses changes made to records. Changes to records are saved to disk when the [EXIT/SAVE], [NEXT/SCREEN], [PREVIOUS SCREEN] or [MENUBAR] keys are pressed.
This command allows the optional <expL> to be evaluated. If a value of .T. is returned, AUTOSAVE is set ON, if a value of .F. is returned, AUTOSAVE is set OFF. Note that <expL> should be enclosed in round brackets. By default, SET AUTOSAVE is OFF.
Example
set autosave on
Products
Recital