====== LOCK.RECORD ====== ==== 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|TRUE$ 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|LOCK statement]]