DB IMGDIR

From Recital Documentation Wiki
Jump to: navigation, search

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