t | : | { string, real} |
A | : | array |
Returns: {0, posint}
Synopsis: The function SearchArray returns the index of an element in an array if it is a member of the array. Otherwise it returns 0.
Examples:
> SearchArray(5, [1, 2, 7, 5, 8]); > SerachArray('hi', ['hello', 'hallo', 'hey', 'hoi']);