<< Previous Message Main Index Next Message >>
<< Previous Message in Thread This Month Next Message in Thread >>
Date   : Tue, 15 Sep 1987 23:42:42 GMT
From   : dewey.soe.berkeley.edu!oster@ucbvax.Berkeley.EDU (David Phillip Oster)
Subject: Re: BDOS Search Next Again

In article <330@gaia.UUCP> cook@gaia.UUCP (Forrest Cook) writes:
>Am I missing something very obvious?

Yes.

I've seen at least four replies go by that all said:

Zero the lower FCB bytes and the CR byte in the FCB (as per cp/m manuals).
Fill the name and extension fields with ???????? and ???   .
Call Search for First
Call a routine which appends the FCB to a list of FCBs

While Search for Next returns OK, DO BEGIN
  Call a routine which appends the FCB to a list of FCBs
END

When the entire list of names is built, go back, and one at a time,
open, read, process, close.

--- David Phillip Oster            --My Good News: "I'm a perfectionist."
Arpa: oster@dewey.soe.berkeley.edu --My Bad News: "I don't charge by the hour."
Uucp: {seismo,decvax,ihnp4}!ucbvax!oster%dewey.soe.berkeley.edu
<< Previous Message Main Index Next Message >>
<< Previous Message in Thread This Month Next Message in Thread >>