Table of Contents

UNLOCK.RECORD

Purpose

Used to unlock a record or file set earlier with the LOCK.RECORD code.

Arguments

ArgumentInput/OutputValue
CODEInput6
Outputunchanged
BFSInputBFS List
Outputunchanged
HANDLEInputFile Handle
Outputunchanged
NAMEInputRecord Key, if a record is being unlocked; NULL if a file is being unlocked
Outputunchanged
FMCInputLock type
Outputunchanged
RECORDInputnull
OutputLock semaphore
STATUSInputunassigned
OutputAlways returns TRUE$

Note

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

Called by

BASIC+ UNLOCK statement