HEADER()

From Lianjapedia
Jump to: navigation, search

Purpose

Function to return the table header size

Syntax

HEADER()

See Also

DISKSPACE(), RECCOUNT(), RECSIZE()

Description

The HEADER() function returns the size of a table header. The table file header contains information about the table, among other things, the field definitions, and the field descriptions. When used with the RECSIZE() function and the RECCOUNT() function, the HEADER() function allows you to calculate the space which your table occupies. The total space needed to backup your table can thus be calculated.

Example

use mytable
size = header() + reccount() * recsize()