Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- dBsee 4.6 - The Library - <b>dfarrrest()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
dfArrRest()
Reads an array from the disk
------------------------------------------------------------------------------
Syntax:

     dfArrRest( <cFileName> ) --> aRest

Parameters:

     <cFileName> File name. The file is opened in SHARED mode.

Returns:

     <aRest> Read array
     
     N.B.
     
     If the returned array is NIL, that means that some problem occurred
     while reading

Description:

     Reads from the disk an array that has been previously saved using
     dfArrSave()

Example:

     LOCAL aTest := { ;
                      "Test",     ;
                      15.2,        ;
                      {},          ;
                      DATE(),      ;
                      {1, {TIME()}, NIL, 3} }
     LOCAL aRest
     
     
     ? ". Save Array"
     dfArrSave( aTest, "Test.arr" )
     
     ? ". Restore Array"
     aRest := dfArrRest( "Test.arr" )
     
     ? ". FINISH"

See also:

     dfArrSave()

See Also: dfArrSave()

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