Return and optionally, set the code block that implements a format (.fmt)

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


     <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.


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


     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() 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.


One response to “C5_READFORMAT

  1. Pingback: C5 UI – GET System | Viva Clipper !

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.