Unlock

Advanced
Aptilis 1

Unlock(Filename)

Unlock is a crucial function if you are in a multi-user environment.
It unlocks a file locked by Lock.
If you lock a file more than once (in the same programm) without unlocking it, then you need to call Unlock as many times as you've called Lock. This is in case you'd lock a file in a sub, then unlock it and expect it to be still locked after the sub has returned if you had locked it before the call. See Lock for more details, including platform idiosyncrasies and a programing example.