15 - LINEOUT(myfile,myline) / Append a line to the file /
>V> MYFILE => "Test1.txt"
>A> "Test1.txt"
>V> MYLINE => "this is my Test1.txt 8 Mar 2021 14:16:37"
>A> "this is my Test1.txt 8 Mar 2021 14:16:37"
>F> LINEOUT => "0"
>>> "0"
Der Befehl "0" ist entweder falsch geschrieben oder
konnte nicht gefunden werden.
+++ "RC(1)"
Anonymous
You have coded a function call as a line on it's own. By rexx rules, the function result is then handled as a command and passed to the command shell, which is issuing the message. You need to code your call as
call lineout myfile, myline
Hi Franz,
Rexx functions which return a value are typically called like this:
When used in a stand-alone expression like in your example, the returned function value is (not ignored, but) executed as an external command.
Hi Franz, responses should always go to the initial bug report - no direct responses by mail.
You don't really use STREAM in your example, but its use would be the same as for LINEOUT
Also, this here is bug tracker ... for how-to questions there's a mailing list "Open Object Rexx Users" oorexx-users@lists.sourceforge.net.
You'll find a list of all ooRexx mailing lists at https://sourceforge.net/p/oorexx/mailman/
ooRexx also has a discussion forum at https://sourceforge.net/p/oorexx/discussion/
(There are also Google Groups covering Rexx))
---------- Forwarded message ---------
From: Franz Marx
Date: Tue, Mar 9, 2021 at 4:35 PM
Subject: Re: [oorexx:documentation] #281 LINEOUT - Command in Windows 10 -> unsupported Command "0"
To: erich_st@users.sourceforge.net, bigrixx@users.sourceforge.net
Thank you all for your really fast support, please close my #281! In my 2nd Test-Program,i already coded your suggested CALL LINEOUT args and it works fine!
The 2nd problem in my Test1.rex - program;stream(....) with the unsupported windows-command READY: - Command as you can see in my Test2.rex ...
Next I will try to make a real Rexx-Windows Program!GreetingsFranz J. Marx
Ok, Erich, habe ich alles verstanden!
Ich denke, beim Vornamen Erich kann ich auch in deutsch schreiben!
😊
LG aus Österreich!
Franz
P.S. *"It's only Rexx and Roll, but i like it" * (c) The Rolling Stones
(partially)
i used REXX (and PL/1) in z/VM and z/VSE (from the 1980's on)
Am Di., 9. März 2021 um 18:20 Uhr schrieb Erich erich_st@users.sourceforge.net:
Related
Documentation Bugs:
#281Ticket should be closed by Rexxcoder
updated Test1.rex works now as expected
the correct use of Stream and LINEOUT are used also in my Lotto-Program for windows,
adapted from my z/VM - version.
<style type="text/css"><!-- DIV {margin:0px;} --></style>
Related
Documentation Bugs:
#281Hi Tony,
it seems that the ticket creator had wrongly selected you as owner when he opened this doc bug.
The ticket has already been closed - see "Status: wont-fix" in the header
No action necessary from your side.
Any ticket attachments are just local attachments here and are not uploaded into our SVN tree.
Any of the devs can close tickets (maybe the ticket creator can close it, too .. not sure)
I'll remove you as owner of this ticket.
<style type="text/css"><!-- DIV {margin:0px;} --></style>
Related
Documentation Bugs:
#281