Re: Floppy_Is_Blank Function Request
- Posted by Ad Rienks <kwibus at ZONNET.NL> Aug 30, 2000
- 462 views
Hello Hawke', I think I tested all the possibilities you mentioned, and the statement seems to behave as expected. BTW, 'system' and 'hidden' are only attributes of files, in my opinion. Windows can fool you, as these kind of files are not displayed in Windows Explorer, unless you set some checkboxes. Cheers, Ad ----- Oorspronkelijk bericht ----- Van: Hawke' <mikedeland at NETZERO.NET> Aan: <EUPHORIA at LISTSERV.MUOHIO.EDU> Verzonden: woensdag 30 augustus 2000 11:25 Onderwerp: Re: Floppy_Is_Blank Function Request > errrrr............. > will that take into account, assuredly, hidden/system files being > present on that floppy???? > im thinking it won't actually :/ > --Hawke' > > > Hello ck, > > Use the function > > if atom(dir("a:*.*")) then > > If the disk is empty, even if there is no disk in the 'a' drive, dir() > > returns -1. This is an atom; otherwise the dir() function returns a > > sequence. > > > > Hope this helps, Ad > > > _______________________________________________ > Why pay for something you could get for free? > NetZero provides FREE Internet Access and Email > http://www.netzero.net/download/index.html