Category : BASIC Source Code
Archive   : INDEX.ZIP
Filename : AEBITRGT.BAS

 
Output of file : AEBITRGT.BAS contained in archive : INDEX.ZIP
rem $linesize:132
rem $title:'Application Engineer Standard Routines'
rem $subtitle:'Move to the last key in the index'
'
' bit.right moves the index pointer so that it references the largest
' key in the tree. this function is to be used to get a listing of the
' tree in sequence. the 'bit.left' routine will position the pointer
' at the other end of the tree for forward listings.
'

' Include the COMMON values
rem $include:'AESHARED.BAS'

sub bit.right(fl%,ky$,mrec%,success%) static

rec%=1
rtagain:
get #fl%,rec%
success%=cvi(xk$(fl%,3))
if success%=0 then
goto rtfin
end if
rec%=success%
goto rtagain
rtfin:
ky$=xk$(fl%,1)
success%=rec%
mrec%=cvi(xk$(fl%,5))

end sub



  3 Responses to “Category : BASIC Source Code
Archive   : INDEX.ZIP
Filename : AEBITRGT.BAS

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/