Mioplanet Documentation Center
Resources and Help
HomeProductsMioScriptJavaScriptTechNotesPHP
   Home | MioScript | disk.file.load.array.append SEARCH    

  Functions
disk.dialogBox.folder
disk.dialogBox.open
disk.dialogBox.save
disk.dialogBox.save.getFilter
disk.drive.freeSpace
disk.drive.label
disk.drive.list
disk.drive.sysName
disk.drive.totalSpace
disk.drive.type
disk.file.compress
disk.file.copy
disk.file.date.get
disk.file.date.set
disk.file.delete
disk.file.exists
disk.file.expand
disk.file.list
disk.file.load
disk.file.load.array
disk.file.load.array.append
disk.file.load.decode
disk.file.merge
disk.file.move
disk.file.save
disk.file.save.array
disk.file.save.array.encode
disk.file.save.encode
disk.file.size
disk.folder.create
disk.folder.delete
disk.folder.exists
disk.folder.list
disk.folder.remove
disk.folder.setAsSystem
disk.folder.tree

  MioScript Reference
> Statements
app...
browser...
dialog...
disk...
draw...
extern...
filename...
keyboard...
menu...
mio...
mouse...
num...
path...
pushButton...
reg...
RS232...
sci...
screen...
shortcut...
sound...
str...
system...
time...
var...
window...

Function
disk.file.load.array.append

Language: MioScript
Product: MioFactory


Syntax

disk.file.load.array.append(Filename, ArrayName, Separator)


Parameters

STRINGFilenameFile to load.
ARRAYArrayNameName of an array to be filled with the content of the file.
STRINGSeparatorOptional.
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))