Table of Contents

LOCK.RECORD

Purpose

Used to lock records or files.

Arguments

ArgumentInput/OutputValue
CODEInput5
Outputunchanged
BFSInputBFS List
Outputunchanged
HANDLEInputFile Handle
Outputunchanged
NAMEInputRecord Key, if a record is being locked; NULL if a file is being locked
Outputunchanged
FMCInputLock Type
Outputunchanged
RECORDInputnull
OutputLock semaphore
STATUSInputunassigned
OutputTRUE$ if lock successful

Note

The MFS should not alter the semaphore returned in the RECORD argument. This information is used by the system to set lock information stored internally in the system.

Called by

BASIC+ LOCK statement