Multiuser Lingo Dictionary > Multiuser Lingo Dictionary > locked

 

locked

Syntax

file("whichFile").locked

Description

Multiuser Server server-side file property; gets or sets the locked state of a file. Set the locked property to TRUE to lock the file, and to FALSE to unlock the file. If a file is locked, it cannot be deleted with the delete() (file) command.

Example

This statement locks the file LongSpeech.txt on the server computer:

file(""C:\Text_files\LongSpeech.txt").locked = TRUE

See also

delete() (file)