From: René J. <rvj...@xs...> - 2022-02-26 14:09:42
|
Hi Marc, Thanks! Great …. I am going to have a look at it. René. > On 26 Feb 2022, at 14:43, Marc Remes <re...@gm...> wrote: > > I just pushed a first draft of 'ooRexx-like' ADDRESS WITH implementation to the address-with branch. > Currently it only supports stems, aka indexed strings. > Input and output stems must be of Rexx type, where > stem['0'] specifies the number of lines, and each stem['i'] specifies a line (with i from 1 through stem['0']). > > DiagAddress.nrx has some sample code, such as > << > > istem='' > ostem='' > estem='' > > istem['0']=1 > istem['1']='Hello world' > > address bash 'cat' with input stem istem > > istem['1']='echo Hello world' > ostem['0']=0 > > address bash 'bash' with input stem istem output APPEND stem ostem error stem estem > loop i=1 to ostem[0] > say 'STDOUT: 'ostem[i] > end > loop i=1 to estem[0] > say 'STDERR: 'estem[i] > end > > >> > > IMHO, all ooRexx features are supported for stems, including 'permanent' redirection. > > > Marc > _______________________________________________ > Netrexx-develop mailing list > Net...@li... > https://lists.sourceforge.net/lists/listinfo/netrexx-develop |