To Restore variables from a .mem file
──────────────────────────────────────────────────────────────────────────────
Syntax
GT_MemRest(<cFile>,[<cFilter>],[<bFunc>], ;
[<nSeconds>],[<nPause>]) => lSuccess
Arguments:
<cFile> is the name, including path and extention,
of the file to Restore from.
<cFilter> is the specification of the variables to
Save again if using the code block function.
<bFunc> is an optional code block to evaluate. If
this is evaluated then the same specifications are
used to re-save the file.
<nSeconds> is the time to wait.
<nPause> is the time interval between attempts.
Returns:
.T. / .F.
Description:
To Restore variables from a .mem file
Examples:
// Where pCount is PRIVATE ....
IF .NOT. GT_MemRest('System.mem','p*',{ | | pCount ++ })
? 'Error'
ENDIF
Source: GT_MEMLO.PRG
Author: Martin Bryant