[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
AVERAGE

    To average a series of numeric expressions to memory variables for a
    range of records in the current database file.

Syntax

    AVERAGE [<scope>] <expression list> TO <memvar list> [FOR <condition>]
    [WHILE <condition>]

Arguments

    <exp list> is a list of the numeric values to AVERAGE for each record
    processed.

    <memvar list> identifies the receiving memory variables for the
    averages and is created when the command executes.  Existing memory
    variables with the same names are overwritten.  This list must contain
    the same number of elements as the list of expressions to AVERAGE.

Options

    Scope: The <scope> is the portion of the current database file to
    AVERAGE.  The default scope is ALL.

    Condition: The FOR clause specifies the conditional set of records
    to AVERAGE within the given scope.  The WHILE clause specifies the set
    of records meeting the condition from the current record until the
    condition fails.

See Also: SUM TOTAL
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson