
 bsearch

 bsearch file_name proc_name array_name field_name field_type array_count

 bsearch myprog.sqh search_proc my_array my_field NUMBER #my_array_count

 writes to file_name a binary search routine
 on the array $array_name, field $field_name
 on rows in the array 0 through the value contained
 in $count_name.  $field_type is used to determine
 the type of parameters to pass.

 The generated routine is of the form
 begin-procedure procedure_name( $key , :#index ) or
 begin-procedure procedure_name( #key , :#index )
 and returns in #index the position of the key
 in the array or -1 if not found.

