Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- The Guide To Clipper - <b>save</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
SAVE


Syntax:     SAVE TO <file>/(<expC>) [ALL[LIKE/EXCEPT <skeleton>]]

Purpose:    To save memory variables to a memory (.mem) file.

Arguments:  <file> is the name of the file where specified memory
            variables are SAVEd.  If no extension is specified, Clipper
            creates the file with a (.mem) extension.

            <skeleton> is the wildcard mask to specify a group of
            memory variables to SAVE.

Usage:      SAVE copies the specified memory variables to a memory file
            without any reference to scope (public or private).  Note
            that hidden memory variables are not SAVEd even if they are
            PUBLIC.

            Note also that you cannot SAVE arrays to memory files.

Library:    CLIPPER.LIB


----------------------------------- Examples -------------------------------

   one = "1"
   SAVE TO Temp
   one = "2"
   RESTORE FROM Temp
   ? one                   && Result: 1


See Also: PUBLIC PRIVATE RESTORE RESTORE SCREEN SAVE SCREEN

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