No, new is not a thing defined by the Rexx I/O standard. There is some error checking done there, but NOTREADY and a default return value is defined for the I/O operations.
Rick On Mon, Mar 11, 2019 at 8:14 AM Enrico Sorichetti via Oorexx-devel < oorexx-devel@lists.sourceforge.net> wrote: > Then it should raise one also on > > > f = copies("F",444) > o=.stream~new(f) > > > Enrico > > > PS > ooRexx competitor… regina > Issues the proper error message > > [enrico@enrico-imac tests]$/opt/Regina/bin/rexx d.regina > 3 +++ call lineout f , "a truckload of waste" > Error 40 running "/Users/enrico/tests/d.regina", line 3: Incorrect call to > routine > Error 40.27: LINEOUT argument 1, must be a valid stream name; found . . . > . . . > > > On 11 Mar 2019, at 11:59, Rick McGuire <object.r...@gmail.com> wrote: > > Because it is not allowed to. Rexx streams raise a NOTREADY condition for > any failures. > > > _______________________________________________ > Oorexx-devel mailing list > Oorexx-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/oorexx-devel >
_______________________________________________ Oorexx-devel mailing list Oorexx-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/oorexx-devel