Programming Guide |
Initializes or reinitializes local data blocks
void sm_ldb_init(void);
C only
sm_ldb_init
unloads all LDBs from memory, whether active or not. It then loads and activates the same LDBs as at application startup. At application startup, Panther calls this function and attempts to load and activate LDBs as follows:
- Looks for the configuration variable SMLDBLIBNAME and opens all screens in the specified libraries as LDBs. The default value for this variable is
ldb.lib
.- Looks for the configuration variable SMLDBNAME and opens the specified screens as LDBs. For example:
SMLDBNAME = screen1.scr screen2.scr screen3.scrThe default value for this variable is
ldb.scr
.