Re: REL file oddity...

From: Greg King <>
Date: Sun, 02 Jun 2013 22:11:23 -0400
Message-id: <22FB5C79550440768D3C4AF5946C6EE3@Kaiser>
From: "A. Fachat"; on Saturday, June 01, 2013; at 5:16 PM -0400
> In the process of writing another test program, I found that REL files
> are not always created when you open them.
> Just do an OPEN"FILE,L,"+chr$(n); and, then a CLOSE -- the directory
> keeps being empty.
> Another bug in the DOS not writing back updated information (this being
> DOS 2.6 in the 2031).

Your program reuses the "d" variable!  First, it's the device number; then, 
it's the sector number (in the error message).  So, only the first open 
actually talks to the drive -- the others open a REL file on the keyboard! 

       Message was sent through the cbm-hackers mailing list
Received on 2013-06-03 04:00:03

Archive generated by hypermail 2.2.0.