|
|
|
|
Functions
MioScript Reference
|
|
Syntax
| disk.file.save.array.encode(Filename, ArrayName, Separator) |
Parameters
| STRING | Filename | File to save.
| | ARRAY | ArrayName | Data to be saved.
| | STRING | Separator | Optional. Delimiter to join the array. |
Return value
No value is returned.
Description
Join an array and save it into an encoded file.
The encoding is a very basic process to protect the data for being read by mistake.
To decode the file, use disk.file.load.decode. |
MioScript Sample Code
&myArray[] = "First Line Second Line"
disk.file.save.array.encode(path.desktop("myfile.txt"), myArray, str.char(10)) |
|
|
|