ASCAN( )
Searches an array for an expression. Returns the number of the first element that matches the expression if the search is successful, or zero if the search is unsuccessful.
Syntax
ASCAN(<array name>, <exp>
[, <starting element expN> [, <elements expN>]])
<array name>
A declared one- or two-dimensional array.
<exp>
The expression to search for in <array name>.
<starting element expN>
The element number in <array name> at which to start searching. Without <starting element expN>, ASCAN( ) starts searching at the first element.
<elements expN>
The number of elements in <array name> that ASCAN( ) searches. Without <elements expN>, ASCAN( ) searches <array name> from <starting element expN> to the end of the array. If you want to specify a value for <elements expN>, you must also specify a value for <starting element expN>.
Description
See the description for scan( ).