The KEY.LOOKUP( ) and KEY.SCROLL( ) routines are both mvBASIC subroutines making use of the BTREE interface functions. Source code to these two subroutines is supplied with the system.
You are welcome to make modifications to these routines for your applications, provided that the routines are only distributed to systems running the host’s software. Note that the KEY-FIND TCL command actually uses the KEY.LOOKUP( ) and KEY.SCROLL( ) subroutines. Therefore, any modifications to these subroutines should be given different subroutine names.
See Also
Using the BTREE File Structure System
Using Lookup and Browse Routines
Maintaining Key File Performance
Stack Code Calculator Function