ProtectLogicalFile
STD.File.ProtectLogicalFile
STD.File.ProtectLogicalFile
File.ProtectLogicalFile
ProtectLogicalFile
( logicalfilename [ , value ] )
logicalfilename
A null-terminated string containing the name of the logical
file as it is known by the DFU.
value
Optional. A boolean flag indicating whether to protect or
un-protect the file. If omitted, the default is TRUE.
The ProtectLogicalFile function
toggles protection on and off for the specified
logicalfilename.
Example:
IMPORT STD;
file := '~class::bmf::join::halfkeyed';
STD.File.ProtectLogicalFile(file); //protect
STD.File.ProtectLogicalFile(file, FALSE); //unprotect