xHarbour Reference Documentation > Function Reference xHarbour Developers Network  

NumCount()

Installs and/or increments an internal counter value.

Syntax

NumCount( [<nValue>], [<lIsStart>] ) --> nCounter

Arguments

<nValue>
This is an optional numeric value. It increments the internal counter when <lIsStart> is .F. (false), which is the default.
<lIsStart>
If .T. (true) is passed, <nValue> defines the start value for the internal counter.

Return

The function returns the internal counter as a numeric value. If the function is called without parameters, the return value is the current value of the internal counter.

Info

See also:FOR EACH, HB_EnumIndex()
Category: CT:NumBits , Numbers and Bits
Source:ct\numcount.c
LIB:xhb.lib
DLL:xhbdll.dll


Copyright © 2006-2007 xHarbour.com Inc. All rights reserved.
http://www.xHarbour.com
Created by docmaker.exe