Talk:Hello world/Standard error: Difference between revisions

m
→‎REXX stderr vs. stdout: ooRexx feature ain't "new"
(→‎REXX sterr vs. stdout: Versions 2 and 3 are now correct (and some notes on redirection))
m (→‎REXX stderr vs. stdout: ooRexx feature ain't "new")
 
Line 3:
I tried to but couldn't convince the author of Rexx versions 1 to 3 that these, in my view, do not address the task at hand. The two Rexx implementations that I know (ooRexx and Regina) allow to send error messages to the stderr stream which is also used for Trace output and error messages. I do not know of any other Rexx that would support this feature that allows you to redirect output to separate files for the two streams stdout (used by Say) and stderr. --[[User:Walterpachl|Walterpachl]] ([[User talk:Walterpachl|talk]]) 10:57, 11 July 2014 (UTC)
: versions 2 and 3 were changed now. thanks. An interesting observation: Regina has an option
<lang rexx>options stdout_for_stderr</lang>. This directs output that normally would go to stderr (i.e. Trace output and error messages) to stdout. Call lineout 'stderr','some text' is NOT redirected. ooRexx has a new(?) feature to direct all stdout/stderr output to a file with these instructions within the program:
<lang rexx>-- now one can redirect from within ooRexx !
allout=.stream~new("all.txt")~~open("write replace")
2,289

edits