Path: utzoo!mnetor!uunet!husc6!uwvax!umn-d-ub!umn-cs!brsmith From: brsmith@umn-cs.cs.umn.edu (Brian R. Smith) Newsgroups: comp.sys.apple Subject: Re: READ /RAM CATALOG IN APPLESOFT Message-ID: <4950@umn-cs.cs.umn.edu> Date: 25 Apr 88 01:40:58 GMT References: <8804152230.aa12184@SMOKE.BRL.ARPA> Reply-To: brsmith@umn-cs.UUCP (Brian R. Smith) Organization: University of Minnesota Lines: 20 In article <8804152230.aa12184@SMOKE.BRL.ARPA> MEELISSE@HROEUR5.BITNET writes: >I have written a short BASIC program to read the contents of a ProDOS >directory and put it in a string array (see below). All works fine until I >try reading my /RAM disk... Just after the filenames have been read and >before the "Blocks free..." line should be read, I get an OUT OF DATA error >and the program stops executing. Why does this happen? Is there anything >I can do to prevent it? > >Danny Lagrouw, >MEELISSEN@HROEUR5.BITNET I've got an idea; The directory on /RAM is shorter than what is on standard floppies (only 12 entries). If you ever need more than that, it'll grow, but as /RAM is only 60K, it's not often. Brian brsmith@umn-cs.cs.umn.edu brsmith@umn-cs.UUCP brsmith%umn-cs@UMNACVX.BITNET