File input/output


CHDIR - Change working directory

chdir <directory>

Change the current working directory to <directory>

Example:

chdir "/home/nmr/data"

GETCWD - Get current directory

<directory> = getcwd

Get the name of the current working directory.

Example:

%name = getcwd
println %name

OPEN - Open file

CLOSE - Close file

STAT - Get file size

TELL - Get current file position.

SEEK - Find position in file

READ - Read from file

FGETS - Read line of text from file

WRITE - Write to file

SCAN - Read text item from file

SCANEXP - Read text item from file

SCANBIN - Read item from binary Bruker acqu file

PRINT - Print and println

PRINTF, FPRINTF, SPRINTF - Print formatted