Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Fast Library For Clipper 3.02 Reference - <b>format()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
    Format()

         Formats a floppy

    Syntax:

         Format ( nDisk, nFormat, lQuick ) -> nError

         nDisk   : Disk unit to format. A:=0, B:=1.
         nFormat : Format. 360=1, 720=2, 1.2=3, 1.44=4
         lQuick  : A logica value indicating if you want QuickFormat or no.

    Description:

         Formats a floppy disk with a specified format.

    Return:

         -2 Bad parameters
         -1 Format error
          0 Ok

    Example:

         nFormat := ChkDsk ( 0 )
         If nFormat > 0
           Format ( 0, nFormat, .T. )
         Else
           Warning ( "Unknown format" )
         EndIf

See Also: ChkDsk()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson