Function NumCount() Foundation

Increments or sets the start value of the internal counter.

Syntax
NumCount( [<nIncrement|nStartValue>], ;  // Default: 0
          [<lStartValue>]             ;  // Default: .F.
        ) --> nCounter
Return

Returns the internal counter as a numeric value.

Description

The function maintains an internal numeric counter.

If the function is called without a parameter it returns the counter without incrementing it.

When <lStartValue> is set .T. the internal counter is set to the first parameter, otherwise the counter is incremented by the first paramenter.

Feedback

If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.