UNLOCK.RECORD
Purpose
Used to unlock a record or file set earlier with the LOCK.RECORD code.
Arguments
Argument | Input/Output | Value |
---|---|---|
CODE | Input | 6 |
Output | unchanged | |
BFS | Input | BFS List |
Output | unchanged | |
HANDLE | Input | File Handle |
Output | unchanged | |
NAME | Input | Record Key, if a record is being unlocked; NULL if a file is being unlocked |
Output | unchanged | |
FMC | Input | Lock type |
Output | unchanged | |
RECORD | Input | null |
Output | Lock semaphore | |
STATUS | Input | unassigned |
Output | Always 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