Re: [Oorexx-devel] Problem with redirected command handler

2022-09-26 Thread Rony G. Flatscher

Hmm, thank you both for the clarification.

A solution, if it is desired that redirection should always go to the same object(s) irrespective of 
the location of the command, is then to place the object(s) into .local and then use them for 
redirection.


---rony

On 26.09.2022 15:32, Rick McGuire wrote:
Or more specifically, the targets identified with ADDRESS WITH are reevaluated in the current 
context each time a command is issued. If the variable context has changed, 
ARRAYOUTPUT evaluates to a string object, which is not a valid output target.


Rick

On Mon, Sep 26, 2022 at 9:12 AM Erich Steinböck  
wrote:

This works as designed. Redirection objects most be accessible at the time 
the command is
executed.



___
Oorexx-devel mailing list
Oorexx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-devel


Re: [Oorexx-devel] Problem with redirected command handler

2022-09-26 Thread Rick McGuire
Or more specifically, the targets identified with ADDRESS WITH are
reevaluated in the current context each time a command is issued. If the
variable context has changed, ARRAYOUTPUT evaluates to a string object,
which is not a valid output target.

Rick

On Mon, Sep 26, 2022 at 9:12 AM Erich Steinböck 
wrote:

> This works as designed. Redirection objects most be accessible at the time
> the command is executed.
> ___
> Oorexx-devel mailing list
> Oorexx-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/oorexx-devel
>
___
Oorexx-devel mailing list
Oorexx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-devel


Re: [Oorexx-devel] Problem with redirected command handler

2022-09-26 Thread Erich Steinböck
This works as designed. Redirection objects most be accessible at the time
the command is executed.
___
Oorexx-devel mailing list
Oorexx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-devel