Re: Floppy_Is_Blank Function Request

new topic     » goto parent     » topic index » view thread      » older message » newer message

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

----- Oorspronkelijk bericht -----
Van: ck lester <cklester at YAHOO.COM>
Aan: <EUPHORIA at LISTSERV.MUOHIO.EDU>
Verzonden: dinsdag 29 augustus 2000 22:54
Onderwerp: Floppy_Is_Blank Function Request


> I need a function executable in Win32 that will return True if disk A: is
> blank, and False if not.
>
> Can anybody tackle this one before I do?
>
> Thanks!
> ck
>
>
>
> _________________________________________________________
> Do You Yahoo!?
> Get your free @yahoo.com address at http://mail.yahoo.com
>

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu