Article View: net.micro.cbm
Article #2175Re: Relative file bugs!!!
From: Fred Walter
Date: Tue, 05 Aug 1986 15:53
Date: Tue, 05 Aug 1986 15:53
26 lines
1698 bytes
1698 bytes
A couple of relative file hints :
1) send the record number not just once but twice
2) pause for ~1/5th second after doing 1) before doing anything
else involving the disk drive
(this may not be as necessary but it can't hurt)
3) if you write data to the disk pause for about 1 second before
doing anything else involving the disk drive
These cut down on relative file screw-ups alot. (This from previous
experience in BASIC and assembler relative file handling).
Another thing that can (and will) cause problems is having two disk
drives online at the same time - even if their unit numbers are different.
Relative files aren't that hard ... but if you can't get them to work
I could mail you a basic program that I have written that works
(and which is being used alot) which would show you how you could do
your relative file handling. (If enough people were interested in a
relative file handling example I could post ...)
fred
UUCP : {allegra|clyde|linus|decvax|utzoo|ihnp4}!watmath!grwalter
CSNET : grwalter%watmath@waterloo.csnet
ARPA : grwalter%watmath%waterloo.csnet@csnet-relay.arpa
Technical Details
Message-ID:
<2124@watmath.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!watmath!grwalterReferences:
<860@usl.UUCP>Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site watmath.UUCP Path: arc1-ca.pugleaf.net!utzoo!watmath!grwalter From: grwalter@watmath.UUCP (Fred Walter) Newsgroups: net.micro.cbm Subject: Re: Relative file bugs!!! Message-ID: <2124@watmath.UUCP> Date: Tue, 5-Aug-86 11:53:00 EDT Article-I.D.: watmath.2124 Posted: Tue Aug 5 11:53:00 1986 Date-Received: Wed, 6-Aug-86 08:01:45 EDT References: <860@usl.UUCP> Reply-To: grwalter@watmath.UUCP (Fred Walter) Organization: U of Waterloo, Ontario Lines: 26