Difference between revisions of "LOCK (access)"

From QB64 Wiki
Jump to navigation Jump to search
imported>Clippy
m (Created page with 'A LOCK access READ or WRITE can be specified in a file OPEN statement in a network environment(DOS 3.1 or higher).')
 
imported>Clippy
m
Line 1: Line 1:
A LOCK access READ or WRITE can be specified in a file [[OPEN]] statement in a network environment(DOS 3.1 or higher).
A LOCK access READ or WRITE can be specified in a file [[OPEN]] statement in a network environment(DOS 3.1 or higher).
*Default: When LOCK is not specified in an [[OPEN]] statement, all other processes are denied file access.
*LOCK READ: When specified, read access is denied to other file procedures.
*LOCK WRITE: When specified, write access is denied to other file procedures.
*LOCK READ WRITE: When specified any access is denied to other file procedures.

Revision as of 00:10, 27 February 2010

A LOCK access READ or WRITE can be specified in a file OPEN statement in a network environment(DOS 3.1 or higher).


  • Default: When LOCK is not specified in an OPEN statement, all other processes are denied file access.
  • LOCK READ: When specified, read access is denied to other file procedures.
  • LOCK WRITE: When specified, write access is denied to other file procedures.
  • LOCK READ WRITE: When specified any access is denied to other file procedures.