From: René J. <rvj...@xs...> - 2022-06-07 19:59:58
|
Hi Mike, > On 7 Jun 2022, at 18:25, hp...@we... wrote: > > Hello René! > > Am 07.06.2022 um 11:15 schrieb René Jansen: >>> [...] >> I know you are not a fan of non-GA, but in this case you might want to grab what is pointed to at https://www.rexxla.org/blog/netrexx/release404/ <https://www.rexxla.org/blog/netrexx/release404/> , bottom of page. > > When I look at the pace NetRexx is updated it makes a big > difference compared to ooRexx which is Beta since 2014-02-24 -- > more than eight years now. But changed almost twice a day. A never > ending story. Reassessing a statement from Frank Zappa I could > say, it's not dead but it smells funny. > Well, it is better every day. I would release it. > Because I publish few of my programs made with ooRexx I refuse to > use its Beta version. How could I argue to use a Beta? Beta is > better? Beta is fresh and fine, everything else is frumpy? When I > install NetRexx 4.04 Alpha now it's highly likely when VilMA is > fully migrated either NetRexx 4.04 is also done and out or > finalised within few month only. > Yes, I expect that no to take too long. Marc just released a branch that has TRACE INTERACTIVE, and we cannot sit too long on that. >>>> addpipe "(sep !) *in:!strip!l!*in:" >>> but the compiler doesn't like the way I put it -- and I can't find >>> sufficing documentation about addpipe. >> >> There is an example of addpipe at examples/pipes/addpipetest2.njp which might help. > > There are several examples beginning with addpipetest, numbered > from 1..8, but they all made me wonder about the keywords, the > options, the sequence, where all the dos and donts are documented. > > In short: got it working. But... it took quite a while. The only > chance I had without description was molesting and butchering that > silly addpipetest2, trial and error and again, never give up. > Finally it returns what it should. Honestly, I detest results > based on know-how only and absolutely no know-why. > Main obstacles had been: wrong file type, must be .njp instead of > .nrx, no option (sep !) possible, no /* */ bracketed comment on > line with addpipe, and many other showstoppers I can't describe > any more. > I don’t know if you are like me, always having a blocnote to jot things down - that might be quite valuable. As these emails are. > The modified proposal for varload now looks like this (it's still > work in progress, no options for now): >> /* p4varload_2.njp: prepare for kind of VARLOAD */ >> import org.netrexx.njpipes.pipes. >> class p4varload_2 extends stage >> method run() >> do /* why a DO here, for what? */ >> addpipe (bs) *in:|strip|locate|*in: -- /* may this cause a dealay? */ >> loop forever >> line = Rexx peekto() >> parse line.upper sc +1 vn (sc) sv /* UPPER to force keyword SYMBOLIC */ >> /* sc <> '*' is together with the !strip!l above the default COMMENT "* " */ >> /* the plan is to put the output to stack or stem and interpret it line by line */ >> if sc <> '*' then output(vn '=' sv) /* reduced due to addpipe */ >> readto() >> end >> catch StageError /* now outside the repetitive loop, is that correct? */ >> rc = rc() >> end >> exit(rc*(rc<>12)) > > It's same like CMS Pipelines, only different. > What could you do with it? Compile it and run it: >> C:\prgm\NetRexx\examples\VilMA>pipc p4varload_2 >> addpipe (p4varload_2_bs ) *i_A:|strip|locate|*i_B: >> >> C:\prgm\NetRexx\examples\VilMA>ripe "(sep !) < vilma.ini!p4varload_2!term >> VIMDR = C:\PRGM\REXX\VILMA\ >> CTLDR = C:\PRGM\HP-EMULATORS\V41\ >> VILDR = C:\PRGM\HP-EMULATORS\VIRTIL\ >> DELTA = 3 >> ITLVL = STD.VILMA >> CTRLS = VILMA.CONTROLLERS >> TPCPT = TYPICAL.CAPTION >> DIAPOS = 321 23 > > Result is the same as with first version of p4varload_1 but now > with an addpipe quirk. BTW, the argument for pipe.bat (or ripe.bat > for me) only requires a double quote at the beginning but none at > the end. That's one more know-how issue, free of know-why. > It is a bit like CMS not closing round brackets — I cannot get used to that. > Next steps? No idea. Experts -- please advice. If you want to donate the stage, we can put in in 4.04. I’ll have a look at the other pipes. Best regards, René. > > Best, > M. > > > _______________________________________________ > netrexx-pipelines mailing list > net...@li... > https://lists.sourceforge.net/lists/listinfo/netrexx-pipelines |