Category : BASIC Source Code
Archive   : INDEX.ZIP
Filename : AEBITLFT.BAS
rem $title:'Application Engineer Standard Routines'
rem $subtitle:'Move to the first key in the index'
'
' bit.left moves the index pointer so that it references the smallest
' key in the tree. this function is to be used to get a listing of the
' tree in sequence. the 'bit.right' routine will position the pointer
' at the other end of the tree for reverse listings.
'
' Include the COMMON values
rem $include:'AESHARED.BAS'
sub bit.left(fl%,ky$,mrec%,success%) static
rec%=1
lfagain:
get #fl%,rec%
success%=cvi(xk$(fl%,2))
if success%=0 then
goto lffin
end if
rec%=success%
goto lfagain
lffin:
ky$=xk$(fl%,1)
success%=rec%
mrec%=cvi(xk$(fl%,5))
end sub
Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!
This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.
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/