The docs are not written yet, but there are lots of examples of usage in
the two test group files in the root of the source tree. In a nutshell,
address env command with input resourcei output (REPLACE|APPEND) resourceo
error (REPLACE|APPEND) resourseo
resourcei can be
STEM stemvarname
STREAM cexpr
USING cexpr
cexpr is the same sort of expression used with USE ARG default values or
the subkeyword expressions on RAISE and FORWARD.
With USING, the expression is evaluated and the source determined by the
type of the result:
1) a string. Just the string value it written to the input pipe. Useful if
you only need to send one line.
2) a stem object. Same as using the STEM option
3) a File object. Same as the STREAM option
4) an object that implements InputStream or a Monitor object. data is
obtained via LINEIN methods.
5) the object is requested as an array, and if successfully converted, the
array lines are used.
resourceo can be
STEM stemvarname
STREAM cexpr
USING cexpr
USING options are
1) a stem object
2) a File object
3) an object that implements OutputStream or a Monitor. Lineout is used
4) an object that is an OrderedCollection. lines are added using APPEND.
Special note: if the same object is used for both input and output, the
output is buffered to avoid conflicts.
Rick
On Wed, Apr 25, 2018 at 8:33 AM, Rony G. Flatscher <rony.flatsc...@wu.ac.at>
wrote:
> Great!
>
> Where can one learn the available syntax?
>
> Currently, "https://sourceforge.net/projects/oorexx/files/oorexx-
> docs/5.0.0beta/rexxref.pdf"
> <https://sourceforge.net/projects/oorexx/files/oorexx-docs/5.0.0beta/rexxref.pdf>
> is from 2018-03-28 and does not have the new syntax documented.
>
> ---rony
>
> On 25.04.2018 13:59, Rick McGuire wrote:
>
> Test away. I don't know of any pending work on Windows at least. Erich
> will have to speak for the other platforms.
>
> Rick
>
> On Wed, Apr 25, 2018 at 7:55 AM, Rony G. Flatscher <
> rony.flatsc...@wu.ac.at> wrote:
>
>> A question ad implementation status: is the functionality in trunk
>> already regarded to be fully
>> implemented and functional such that one can start to test it under
>> Windows, Linux and MacOSX?
>>
>> ---rony
>>
>>
>> On 21.04.2018 20:43, Gil Barmwater wrote:
>> >
>> > Yep! Got a clean build after I got ALL the updates. Thanks.
>> >
>> > Gil
>>
>
>
> ------------------------------------------------------------
> ------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> Oorexx-devel mailing list
> Oorexx-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/oorexx-devel
>
>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Oorexx-devel mailing list
Oorexx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-devel