diaryΒΆ
diary opens and closes a file in which all input and output of the command window will be written.
-
bool = diary()
-
bool = diary(bUTF8)
-
bool = diary(ssFileName)
-
bool = diary(ssFileName, bUTF8)
Return Value
bool is TRUE (1), if the function was successful and FALSE (0) if an error occurred.
Parameters
-
ssFileName
ssFileName is the complete file name for input and output. If this parameter is not specified, the default name
"diary"
is used. The file will be written to the UniPlot user directory.
-
bUTF8
If bUTF8 is TRUE (1) the strings will be written as Unicode UTF-8.
Comment
If the diary file is opened with a diary function call, it will be closed by the next diary function call.
History
Version | Description |
---|---|
5.2.0 | Unicode error fixed an new parameter bUTF8 added. |
See also
id-478333