home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.lang.pascal.borland      Borland Pascal was actually pretty neat      2,978 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 1,445 of 2,978   
   Markus Humm to All   
   Re: How to clear a directory?   
   02 Mar 05 18:02:40   
   
   From: markus.humm1@freenet.de   
      
   jg07 schrieb:   
      
   USES dos;   
      
   VAR dirinfo:searchrec;   
      
   BEGIN   
      
   findfirst('*.txt',anyfile,dirinfo);   
   while doserror = 0 do   
   begin   
      erase(dirinfo.name);   
      findnext(dirinfo);   
   end;   
      
   END.   
      
   This should be a good starter for your task.   
      
   Greetings   
      
   Markus   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca