I have found possibly unintentional differences and/or documentation errors or oversights involving the .stream~open and ~description methods.
F= .stream~new("c:\nonexistant.file”); F~open used to return "ERROR:2" (and is documented this way [beta 4702 p. 413]), but it now returns "ERROR:9" instead.
Similarly, ~description used to return "ERROR:2 No such file or directory", but now returns "ERROR:9 Bad file descriptor"
Documentation for ~description [p. 189] states that values returned are documented under ~state but ~state [p. 205] only documents basic information such as ERROR and NOTREADY but says nothing about "ERROR:9 Bad file descriptor" type messages.
Thank you, -Mark
Anonymous
Demonstrates difference in ~open and ~description under 3.2 verses 4.0 beta 4702
Committed revision 4789.
The error code issue has been correct. The note in the DESCRIPTION method was just giving a pointer for an explanation of the ERROR and NOTREADY states, but this note was very confusing in its placement and didn't really add much to the docs, so I've removed it.
Everything looks good. Thank you! -Mark