Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- GT_LIB v1.0 Reference Guide Release 1.0 - <b>to restore variables from a .mem file</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 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

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson