Thanks for clarifying the timeline :-)

Now back to the question:
s~open('append'); s~lineOut('xxx', 1) ignores the line number argument for
lineOut and unconditionally appends
s~open; s~lineOut('xxx', 1) overwrites the first line

This is pretty crazy, as
1) "append" should be default (or not?) for any write operation, and
2) if "append" prohibits overwriting existing lines, we can never overwrite
parts of an existing file at all

I'd propose to remove the rewrite restriction and make "append" default,
but then: we also have this rexxref paragraph "The write pointer cannot be
moved anywhere within the extent of the file as it existed when the file
was opened."

So many errors in one place?
Thus my question: anyone remembers what the intention of all this was?
_______________________________________________
Oorexx-devel mailing list
Oorexx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-devel

Reply via email to