Yes, but $hi or $lo changes in every loop pass.
Yes but that doesn't mean you have to modify $try.
In reply to Re^3: Binary search algorithm.
by jwkrahn
in thread Binary search algorithm.
by kindlychung
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |