Page History
Purpose
Used to lock records or files.
Arguments
Argument | Input/Output | Value | |
CODE | Input | 5 | |
| Output | unchanged | |
BFS | Input | BFS List | |
| Output | unchanged | |
HANDLE | Input | file handle | |
| Output | unchanged | |
NAME | Input | record key, if a record is being locked. Null, if a file is being locked. | |
| Output | unchanged | |
FMC | Input | lock type | |
| Output | unchanged | |
RECORD | Input | null | |
| Output | lock semaphore | |
STATUS | Input | unassigned | |
| Output | returns true if lock successful |
Info |
---|
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