|
|
|
|
Functions
MioScript Reference
|
|
Syntax
| disk.file.load.decode(Filename) |
Parameters
| STRING | Filename | File to load |
Return value
| Content of the file as a string. |
Description
Load a file encoded with disk.file.save.encode.
The encoding is a very basic process to protect the data for being read by mistake. |
MioScript Sample Code
disk.file.save.encode(path.desktop("myfile.txt"), "Hello, World!")
alert(disk.file.load.decode(path.desktop("myfile.txt"))) |
|
|
|