Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- QuickBASIC 3.0 - <b>unlock remove file or record access lock</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
UNLOCK                   Remove File or Record Access Lock

 LOCK [#] filenum [,{record | [start] TO end}]
 .
 . [statements]
 .
 UNLOCK [#] filenum [,{record | [start] TO end}]

    Removes a previously set file or record lock.

     filenum    The number under which the file was OPENed.

      record    The number of a record to be LOCKed or UNLOCKed.

       start    The number of the first record to be LOCKed or UNLOCKed.

         end    The number of the last record to be LOCKed or UNLOCKed.

   -----------------------------------------------------------------------

      Notes:    If the file specified by filenum has been opened for
                random access, you may lock either a single record number
                (with the record argument) or a range of record numbers.
                If you specify a range and omit the start argument, all
                records from the beginning of the file to end are locked.

                If the file specified by filenum was opened for sequential
                input or output, the entire file is locked.

                LOCK requires DOS 3.0 or later and SHARE.EXE.

                It is important to UNLOCK all LOCKed records before
                closing the file.

See Also: LOCK

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