On Sun, Apr 29, 2018 at 11:41 AM, Rony G. Flatscher <rony.flatsc...@wu.ac.at
> wrote:
> On 29.04.2018 16:35, Rick McGuire wrote:
>
>
> On Sun, Apr 29, 2018 at 10:23 AM, Rony G. Flatscher <
> rony.flatsc...@wu.ac.at> wrote:
>
>> The following address-with program using arrays hangs on input using an
>> input array:
>>
>> inArray=("first input.", "| second input. ", "| third input. ") -- input
>> data
>> outArray=.array~new
>> errArray=.array~new
>> say "inArray~items="inArray~items "outArray~items:" outArray~items
>> "errArray~items:" errArray~items
>> say "about to run address-with..."
>> "rexx testAbit.rex" with input using (inArray) output using (outArray) error
>> using (errArray)
>>
>>
> Um, WITH is not an option on command instructions....you need to include
> the ADDRESS command part. Alternatively, issue the
> ADDRESS instruction first with all of the information, then issue the
> command.
>
> address command with input using (inArray) output using (outArray) error
> using (errArray)
>
> "rexx testAbit.rex"
>
>
> Thank you, that is really great, as one can configure the environment
> including redirections and then just pass on the commands!
>
> From the testGroup examples and your examples it seems that "" (empty
> string) and COMMAND address the currently defined environment.
>
> "" is the "default" command environment, which may differ depending on how
the interpreter is invoked. In a normal command usage, then "" is a synonym
for COMMAND.
Rick
> ---rony
>
> P.S.: Currently sourceforge seems to not handle e-mails to the list too
> well, one (earlier one) of mine is still missing, will wait before
> resending it.
>
>
> ------------------------------------------------------------
> ------------------
> 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