Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!caip!lll-crg!lll-lcc!well!crunch From: crunch@well.UUCP (John Draper) Newsgroups: net.micro.amiga Subject: AmigaDOS problem Message-ID: <1646@well.UUCP> Date: Sun, 17-Aug-86 21:53:37 EDT Article-I.D.: well.1646 Posted: Sun Aug 17 21:53:37 1986 Date-Received: Tue, 19-Aug-86 03:20:01 EDT Reply-To: crunch@well.UUCP (John Draper) Organization: Whole Earth Lectronic Link, Sausalito CA Lines: 33 AMIGADOG PROBLEM ---------------- I am trying to whip up a simple directory display program and want to be able to detect when the last file has been displayed. According to the manual which is INCORRECT and INACCURATE (Thank you, MetaCompco, take a bow), I quote from page 2-5 of the developers DOS (dog?) manual: "ExNext gives a return code of zero if it fails for some reason. One reason for failure is reaching the last entry of the directory. However, IoErr() holds a code that may give more information on the exact cause of a failure. WHEN ExNext FINISHES AFTER THE LAST ENTRY, IT RETURNS: ERROR_NO_MORE_ENTRIES (232)". FLAME ON: BULL BULL AND MORE BULL PILED HIGHER AND DEEPER!! Nothing can be further from the truth. After EACH AND EVERY ExNext call I get the ERROR_NO_MORE_ENTRIES returned values. FLAME OFF: If anyone from Amiga cares to comment on this, I would appreciate an answer. This is not only MY problem, but a dozen other programmers from the Programmers Net also would like the answers.