Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!husc6!mit-eddie!ll-xn!ames!aurora!labrea!jade!ucbvax!dewey.soe.berkeley.edu!oster From: oster@dewey.soe.berkeley.edu (David Phillip Oster) Newsgroups: comp.os.cpm Subject: Re: BDOS Search Next Again Message-ID: <20679@ucbvax.BERKELEY.EDU> Date: Tue, 15-Sep-87 19:42:42 EDT Article-I.D.: ucbvax.20679 Posted: Tue Sep 15 19:42:42 1987 Date-Received: Fri, 18-Sep-87 00:43:45 EDT References: <330@gaia.UUCP> Sender: usenet@ucbvax.BERKELEY.EDU Reply-To: oster@dewey.soe.berkeley.edu.UUCP (David Phillip Oster) Organization: School of Education, UC-Berkeley Lines: 22 Keywords: Still No Luck 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