Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- CA-Clipper 5.3 . Guide To CA-Clipper - <b>readformat()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 READFORMAT()
 Return and optionally, set the code block that implements a format (.fmt)
 file
------------------------------------------------------------------------------
 Syntax

     READFORMAT([<bFormat>]) --> bCurrentFormat

 Arguments

     <bFormat> is the name of the code block, if any, to use for
     implementing a format file.  If no argument is specified, the function
     simply returns the current code block without setting a new one.

 Returns

     READFORMAT() returns the current format file as a code block.  If no
     format file has been set, READFORMAT() returns NIL.

 Description

     READFORMAT() is a Get system function that accesses the current format
     file in its internal code block representation.  It lets you manipulate
     the format file code block from outside of the Get system's source code.

     To set a format file, use SET FORMAT (see the SET FORMAT entry ) or
     READFORMAT().

     READFORMAT() is intended primarily for creating new READ layers.  The
     code block that READFORMAT() returns, when evaluated, executes the code
     that is in the format file from which it was created.

 Files   Library is CLIPPER.LIB, source file is Getsys.prg.


See Also: READKILL() READUPDATED() SET FORMAT*

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