Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- SIx Driver RDD v3.00 - Reference Guide - <b>hs_keycount():</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
  hs_KeyCount():

  Purpose:  Returns the number of entries in a HiPer-SEEK index.

   Syntax:  hs_KeyCount( <hIndex> )

    Where:  <hIndex> is an integer handle of a HiPer-SEEK index file.

  Returns:  An integer greater or equal to zero, representing the number of
            records currently in the index. Deleted records are included in
            this total. A negative integer represents an error.

  Errors Returned:

     -16 (BADPARMS) Invalid parameters were passed to the function.
     -18 (BADHANDLE) Invalid handle was passed to the function.

  Comments:

  Example:

    USE test EXCL
    h := hs_Open( "NAMES.HSX", 16, 1 )
    IF LastRec() != hs_KeyCount( h )
      ? "Error: .DBF record count doesn't match HiPer-SEEK record count!"
    ENDIF



See Also: Sx_KeyCount()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson