From: J L. T. <jlt...@ma...> - 2022-01-14 22:37:44
|
Hi, I'm having fun with the example program in the NetRexx Pipelines Guide and Reference manual. The program works fine as shown in the example, but fails if a label is added to any stage. It seems that this would prevent imbedding of multi-stream pipelines in a NetRexx source program? -- testpipe.njp ---------------------------------------------- class testpipe method testpipe(avar=Rexx) F = Rexx 'abase' T = Rexx 1 F[0]=5 F[1]=222 F[2]=3333 F[3]=1111 F[4]=55 F[5]=444 pipe (apipe stall 1000 ) -- stem F | sort | prefix literal {avar} | console | stem T -- This works stem F | fail: sort | prefix literal {avar} | console | stem T -- This fails loop i=1 to T[0] say 'T['i']='T[i] end method main(a=String[]) static testpipe(Rexx(a)) -------------------------------------------------------------- I note also that testpipe must have the njp extension, even though it's a NetRexx program; this is not stated in the manual. I had some fun with this until I changed the extension. Leslie |