RDD

Header()

Return the database header length

Syntax

Signature
Header() --> nBytes

Arguments

None.

Return value

Header length in bytes, or zero without an open area.

Description

Header() returns the size of the current database file header.

Notes

The value depends on the file structure and active RDD.

Example

Header.prg
PROCEDURE Main()

   DbUseArea( .T., , "people.dbf", "People" )
   QOut( "Header bytes: " + LTrim( Str( Header() ) ) )
   DbCloseArea()

RETURN

Output

See also