・The execution result can be obtained with the RESULT function.
・The value of RESULT is 1 for success, 0 for failure, and -1 for cancellation.
DAT, TXT, GRP can be specified
・Cannot be omitted.
File name to read
Contents of the read file
・If DAT and GRP are specified, it returns an array containing the data in the DAT and GRP files.
・If reading DAT and GRP files fails, it returns a 1D Int solution with 0 number of elements.
・When TXT is specified, it returns the string of the TXT file contents.
・If reading the TXT file fails, it returns an empty string.
TX$=LOADV("TXT:MEMOFILE") DT=LOADV("DAT:DATAFILE")
・The execution result can be obtained with the RESULT function.
・The value of RESULT is 1 for success, 0 for failure, and -1 for cancellation.
DAT, GRP can be specified
・Cannot be omitted.
File name to read
Array variable that stores the read data
・The dimension of the array data stored in the file to be read must match the dimension of the target array.
・When specifying a string array, the data in the file must also be saved from the string array.
・The number of array elements is automatically expanded according to the information in the file.
DIM MARRAY[] LOADV "DAT:MDATA",MARRAY