Difference between revisions of "DB IMGDIR"
From Recital Documentation Wiki
Yvonnemilne (Talk | contribs) |
Yvonnemilne (Talk | contribs) |
||
| Line 1: | Line 1: | ||
==Purpose== | ==Purpose== | ||
| − | Used to specify the full path name of a directory to be used by the | + | Used to specify the full path name of a directory to be used by the SAVE command to save screen memory variables to persistent screen files |
==See Also== | ==See Also== | ||
| − | [[ | + | [[GETENV()]], [[RESTORE]], [[RESTORE SCREEN]], [[SAVE]], [[SAVE SCREEN]] |
==Description== | ==Description== | ||
| − | The DB_IMGDIR environment variable is used to define a directory that will be used by the | + | The DB_IMGDIR environment variable is used to define a directory that will be used by the SAVE command to save screen memory variables to persistent screen files. Please note that the DB_TMPDIR should include a trailing directory separator. |
==Example== | ==Example== | ||
<code lang="recital"> | <code lang="recital"> | ||
| + | // Save screen to a memory variable | ||
| + | save screen to m_screen | ||
| + | // Save memory variables to a '.mem' file | ||
| + | save to memvars | ||
| + | // The contents of m_screen will be save to | ||
| + | // a '.img' file in the DB_IMGDIR directory | ||
</code> | </code> | ||
Latest revision as of 12:56, 5 March 2010
Contents
Purpose
Used to specify the full path name of a directory to be used by the SAVE command to save screen memory variables to persistent screen files
See Also
GETENV(), RESTORE, RESTORE SCREEN, SAVE, SAVE SCREEN
Description
The DB_IMGDIR environment variable is used to define a directory that will be used by the SAVE command to save screen memory variables to persistent screen files. Please note that the DB_TMPDIR should include a trailing directory separator.
Example
// Save screen to a memory variable save screen to m_screen // Save memory variables to a '.mem' file save to memvars // The contents of m_screen will be save to // a '.img' file in the DB_IMGDIR directory
Products
Recital, Recital Server