FWRITEA

Purpose:

Writes a series as an ASCII (text) file without a file header.

Syntax:

FWRITEA("filename", series1, series2, ..., seriesN)

"filename"

-

A string, the name of the destination file.

seriesN

-

Optional. The series to write. Defaults to the current Window.

Returns:

Nothing.

Example:

data = 1..5;

fopen("mydata.dat", "w");

fwritea("mydata.dat", data, data * 10, data / 10);

fclose("mydata.dat");

 

W1: readt("mydata.dat")

 

W1 == {{1, 10, 0.1},

       {2, 20, 0.2},

       {3, 30, 0.3},

       {4, 40, 0.4},

       {5, 50, 0.5}}

Remarks:

File must be opened with FOPEN before using FWRITEA and the file should be closed with FCLOSE.

 

FWRITEA operates like WRITEA once FOPEN is used to open the file.

See Also:

FCLOSE

FOPEN

FREADA

FWRITEB

READA

READTABLE

WRITEA

WRITETABLE