QB64.com

QB64 is a modern extended BASIC programming language that retains QBasic/QuickBASIC 4.5 compatibility and compiles native binaries for Windows, Linux, and macOS.

The LOCK statement restricts access to parts of a file by other programs or processes.

Syntax

LOCK [#]fileNumber% LOCK [#]fileNumber%, record& LOCK [#]fileNumber%, [firstRecord&] TO lastRecord&

Description

QBasic/QuickBASIC

See Also