Issues in write() documentation
Reported by Federico Miyara
BUG DESCRIPTION:
----------------
Reference: https://help.scilab.org/docs/6.1.0/en_US/write.html
1) In the description
format
character string, specifies a "Fortran" format. This character string must begin with a right parenthesis and end with a left parenthesis. Formats cannot mix floating point , integer or character edition modes
I think it is the other way around, the string should begin with a left parenthesis "(" instead of a right parenthesis, and end with a right parenthesis ")" instead of a left parenthesis.
2) It isn't clearly stated that the function will refuse to overwrite an existing file with the same name
ERROR LOG:
----------
File "test.txt" already exists or directory write access denied.
HOW TO REPRODUCE THE BUG:
-------------------------
write("test.txt", ["Hello, world"])
write("test.txt", ["Goodbye, world"; "--Major Tom to Ground Control"])
OTHER INFORMATION:
------------------