Re: Relative File Bug?

RolfMiller_at_aol.com
Date: 2008-06-13 07:07:46

 
In a message dated 6/12/2008 8:24:40 P.M. Pacific Standard Time,  brain@j
brain.com writes:

Does  nyone have details on the relative file "bug" in the CBM drives?   
Even the 1541-II manual refers to it and notes you should position twice  
to avoid, but I'd like to get more detail.




I wrote a data base using rel file over 20 yrs ago that I still use.   Never 
have errors.  I do recall having problems at first, but don't recall  now if 
the reason I open, P, write, close, each time is the cure.  Also, I  P to to 
the first byte of the record.  So, my P line looks like this:
 
PRINT#15,8,15,"P"CHR$(C+96)CHR$(L)CHR$(H)CHR$(1)
 
where C is channel number, L & H are low high byte of record number,  and 1 
is first byte if record.
 
Hope this helps,  Rolf
 



**************Vote for your city's best dining and nightlife. City's Best 
2008.      (http://citysbest.aol.com?ncid=aolacg00050000000102)

       Message was sent through the cbm-hackers mailing list

Archive generated by hypermail pre-2.1.8.