Title: SmallBASIC | SEARCH
Description: Scans an array for the key. If key is not found the SEARCH command returns (in ridx) the value. (LBOUND(A)-1). In default-base arrays that means -1. The cmpfunc (if its specified) it takes 2 vars to compare. It must return 0 if x = y; non-zero if x <> y.
Domain: smallbasic.github.io
| None | IE=edge |
Links:
Viewport: width=device-width, initial-scale=1