MC-Basic:ENCRYPTFILE
Language: | English |
---|
Allow user to encrypt files stores on the controller
Syntax
? ENCRYPTFILE (<"MYFILE.LIB">)
Availability
Since Version 4.14.x
Type
Long
Range
0 - encryption passed ok
1 - file is already encrypted
2 - can't open file (file doesn't exist)
3 - can't close file
4 - can't read from file
5 - can't write to file
6 - can't flush file
7 - can't delete file
8 - can't rename file
Scope
Configuration, Task, Terminal
Examples
import_c ENCRYPTFILE(byval as string) as long
program
? ENCRYPTFILE ("MYFILE.LIB")
end program '