Path: utzoo!mnetor!tmsoft!torsqnt!news-server.csri.toronto.edu!cs.utexas.edu!usc!rutgers!cbmvax!cbmehq!cbmger!peterk From: peterk@cbmger.UUCP (Peter Kittel GERMANY) Newsgroups: comp.sys.amiga Subject: Re: AmigaDOS from BASIC.... Message-ID: <648@cbmger.UUCP> Date: 18 Dec 90 09:48:38 GMT References: <730026@hpmwngf.HP.COM> <643@cbmger.UUCP> Reply-To: peterk@cbmger.UUCP (Peter Kittel GERMANY) Organization: Commodore Bueromaschinen GmbH, West Germany Lines: 17 In article robin@niksula.hut.fi (Jarto 'Robin' Tarpio) writes: > > It's not a very good idea to read a dir by examining the output > of list or dir. But it's the easiest way :-) Ok, it's definitely the laziest way. But you spare another effort that you didn't mention in your else nice example: If you want to look at a whole directory, than you have to provide a sort of stack or buffer area to hold all that. And the size of this you must know in advance. And when you guessed too low than you must try again with a higher value. That's all really embarrassing and can simply be avoided by letting DOS do all this, trusting that the RAM disk will suffice to hold the result... :-) -- Best regards, Dr. Peter Kittel // E-Mail to \\ Only my personal opinions... Commodore Frankfurt, Germany \X/ {uunet|pyramid|rutgers}!cbmvax!cbmger!peterk