Removes a previous access restriction (lock) on a file
Syntax
Unlock #filenum [, record ]
Unlock #filenum, [ start ] TO end
Parameters
filenum
The file number used to
Open the file.
record
The record (
Random files) or byte position (
Binary files) to unlock. If omitted, the entire file is unlocked.
start
The first record (
Random files) or byte position (
Binary files) in a range to unlock. If omitted, the current record/byte position (
Seek(
filenum) is used.
end
The last record (
Random files) or byte position (
Binary files) in a range to unlock.
Description
Unlock removes the temporary access restriction set by
Lock.
It is strongly recommended to use the same arguments used in the previous
Lock.
Example
Differences from QB
See also