$FUNCNAME$
  RECCOUNT()
$CATEGORY$
  DATABASE
$SUMMARY$
   Determine the number of records in the current database (.dbf) file
$LANG_RU$
         (.dbf)
$SYNTAX$
     RECCOUNT() | LASTREC() --> nRecords
$LANG_RU$
     RECCOUNT() | LASTREC() -->  
$RETURNS$
     RECCOUNT() returns the number of physical records in the current
     database file as an integer numeric value.  Filtering commands such as
     SET FILTER or SET DELETED have no affect on the return value.
     RECCOUNT() returns zero if there is no database file open in the current
     work area.
$LANG_RU$
     RECCOUNT()       
          .   , 
      SET FILTER  SET DELETED,     .
     RECCOUNT()  ,      
        .
$DESCRIPTION$
     RECCOUNT() is a database function that is a synonym for LASTREC().  By
     default, RECCOUNT() operates on the currently selected work area.  It
     will operate on an unselected work area if you specify it as part of an
     aliased expression (see example below).  Note that RECCOUNT() is a
     compatibility function.  LASTREC() should be used in its place.
$LANG_RU$
     RECCOUNT() -    ,  
      LASTREC().   RECCOUNT()   
      .    LASTREC()   
        .    
         ,   ( 
     ).
$EXAMPLES$
       This example illustrates the relationship between COUNT and
	RECCOUNT():

	USE Sales NEW
	? RECCOUNT()                      // Result: 84
	//
	SET FILTER TO Salesman = "1001"
	COUNT TO nRecords
	? nRecords                        // Result: 14
	? RECCOUNT()                      // Result: 84

       This example uses an aliased expression to access the number
	of records in an unselected work area:

	USE Sales NEW
	USE Customer NEW
	? RECCOUNT(), Sales->(RECCOUNT())
$LANG_RU$
              COUNT 
        RECCOUNT():

       USE Sales NEW
       ? RECCOUNT()                    // : 84
       //
       SET FILTER TO Salesman = "1001"
       COUNT TO nRecords
       ? nRecords                      // : 14
       ? RECCOUNT()                    // : 84

        ,       
           ,  :

       USE Sales NEW
       USE Customer NEW
       ? RECCOUNT(), Sales->(RECCOUNT())
$SEEALSO$
  EOF(),LASTREC()
$END$
