[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
    fbOpen()

         Opens a binary file

    Syntax:

         fbOpen( cFile, nMode ) -> nHandle

         cFile : The name of the file
         nMode : DOS open mode

    Description:

         Trys to open the file cFile in mode nModo with 5 retries and begs
         the user to answer if he wants to retry if there's an error.

    Return:

         A file handle or -1 if an error is found.

    Example:

         nHandle := fbOpen ( "Fast.txt", 0 )
         If nHandle == -1
           BoxWarning ( "Open error" )
         EndIf

See Also: fbClose() fbCreate() fbWrite() fbRead()
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson