|
|
|
|
Functions
MioScript Reference
|
|
Syntax
| disk.file.load.array.append(Filename, ArrayName, Separator) |
Parameters
| STRING | Filename | File to load.
| | ARRAY | ArrayName | Name of an array to be filled with the content of the file.
| | STRING | Separator | Optional. Delimiter to slice the file in the array. |
Return value
No value is returned.
Description
| Load a text file from disk and slice the content at the end of the specified array. |
MioScript Sample Code
var.array.clear(myArray)
// Load two text files in a single array
disk.file.load.array(path.desktop("myfile_1.txt"), myArray, str.char(10))
disk.file.load.array.append(path.desktop("myfile_2.txt"), myArray, str.char(10)) |
|
|
|