OutputStream
OutputStream("file-name")opens a file and returns an OutputStream.
Examples
>> f = FileNameJoin({$TemporaryDirectory, \"test_open.txt\"})/tmp/test_open.txt
>> str = OpenWrite(f);
>> Write(str, x^2 - y^2)
>> Close(str);FilePrint prints the file content:
>> FilePrint(f)as:
x^2 - y^2>> str = OpenAppend(f);
>> Write(str, x^2 + y^2)
>> Close(str);FilePrint prints the file content:
>> FilePrint(f)as:
x^2 - y^2x^2 + y^2Implementation status
- ✅ - full supported