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>header()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
HEADER()


Syntax:     HEADER()

Purpose:    To determine the length of the header area of the current
            database file.

Returns:    An integer numeric value.

            HEADER() returns the number of bytes in the header of the
            current database file.

Usage:      HEADER() can be used with LASTREC(), RECSIZE() and
            DISKSPACE() to create procedures for backing up files.

Library:    EXTEND.LIB


----------------------------------- Example --------------------------------

   USE Sales
   ? HEADER()                             && Result: 258
   *
   * Number of bytes in the current database file.
   ? (RECSIZE() * LASTREC()) +;
      HEADER() + 1                        && Result: 10339


See Also: DISKSPACE() LASTREC() RECSIZE()

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