DADiSP Worksheet Functions > Function Categories > Data Input/Output Functions > IMPORTFILE
Imports a data file from the command line.
IMPORTFILE("filename", "headerfile", autoload, overwrite, onewin)
"filename" |
- |
A string. The name of the file to import. |
||||
"headerfile" |
- |
Optional. A string, the header file. |
||||
autoload |
- |
Optional. An integer, the series load flag.
|
||||
overwrite |
- |
Optional. An integer, the overwrite flag if autoload = 1.
|
||||
onewin |
- |
Optional. An integer, load series into a single Window.
|
importfile("data.dat")
imports the file, data.dat, into the current Labbook. If the data file does not contain a DADiSP header, the standard importing defaults are used.
importfile("data2.dat","data2.hed",1)
imports the file, data.dat, using the header file, data2.hed, into the current Labbook, and automatically loads the Dataset into the current Window.
IMPORTFILE is a non-GUI version of the built in import facility.