🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.amiga.tech
Article #6142

Re: AmigaDOS questions!!

#6142
From: Darren New
Date: Sun, 28 Oct 1990 22:09
12 lines
1195 bytes
In article <oliphant.4664@telepro.UUCP> oliphant@telepro.UUCP (Mike Oliphant) writes:
>What is the "accepted" way of scanning through a directory using Examine(),
>ExNext() while deleting the files as you go?  Is there an alternative to
>having to restart the scan each time you delete a file?

Just as a guess, I would say the easiest way would probably be to allocate
memory and hold the names of the files you want to delete all at once. 
If you run out of memory, delete those files and restart the scan. - Darren
-- 
--- Darren New --- Grad Student --- CIS --- Univ. of Delaware ---
----- Network Protocols, Graphics, Programming Languages, 
      Formal Description Techniques (esp. Estelle), Coffee -----
Technical Details
Message-ID: <34801@nigel.ee.udel.edu>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!world!decwrl!wuarchive!udel!ee.udel.edu
References: <1990Oct11.212541.18365@hoss.unl.edu> <15327@cbmvax.commodore.com> <oliphant.4664@telepro.UUCP>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!world!decwrl!wuarchive!udel!ee.udel.edu
From: new@ee.udel.edu (Darren New)
Newsgroups: comp.sys.amiga.tech
Subject: Re:  AmigaDOS questions!!
Message-ID: <34801@nigel.ee.udel.edu>
Date: 28 Oct 90 22:09:54 GMT
References: <1990Oct11.212541.18365@hoss.unl.edu> <15327@cbmvax.commodore.com> <oliphant.4664@telepro.UUCP>
Sender: usenet@ee.udel.edu
Organization: University of Delaware
Lines: 12
Nntp-Posting-Host: snow-white.ee.udel.edu