Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Fast Library For Clipper 3.02 Reference - <b>scan16()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
    Scan16()

         Looks for an element of an array16

    Syntax:

         Scan16 ( aArray, xSearch [, nStart] ) -> nPos

         aArray  : The previously created array16
         xSearch : The value to look for into the array
         nStart  : The initial value of the position to start the looking for.
                   Is taken by defect from the first element

    Description:

         Looks for an element into an array16 and returns its position
         if can find it.

    Return:

         The position where the element to look for is or 0 if it can not
         be found into the array16.

    Example:

         a16 := New16 ( 15000, 0 )
         Add16 ( a16, 1 )
         ? Len16 ( a16 )            // 15001
         ? Scan ( a16, 1 )          // Returns 15001 too

See Also: Add16() Get16() Len16() New16() Set16()

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