From: René J. <rvj...@xs...> - 2025-02-22 23:58:29
|
this is just a hunch: both SELECT and PARSE are NetRexx keywords. René. > On 22 Feb 2025, at 21:45, Jeff Hennick <Je...@je...> wrote: > > I have found another with a similar problem: SELECT. > > The only difference in these two is the capitalization of SELECT: > > PS C:\Users\Jeff\Documents\nr5\examples\pipes> pipc m4 > pipe (m4 ) literal blue white green| literal green blue white | literal brown red white | literal blue brown red | SELECT multiple /parse rec . C .; r = 'blue red white'.wordpos(c); return r/ | cons > PS C:\Users\Jeff\Documents\nr5\examples\pipes> java m4 > Error: the RUN method should never be called. > RC=16 > PS C:\Users\Jeff\Documents\nr5\examples\pipes> pipc m4 > pipe (m4 ) literal blue white green| literal green blue white | literal brown red white | literal blue brown red | select multiple /parse rec . C .; r = 'blue red white'.wordpos(c); return r/ | cons > PS C:\Users\Jeff\Documents\nr5\examples\pipes> java m4 > blue brown red > PS C:\Users\Jeff\Documents\nr5\examples\pipes> > > On 2/22/2025 1:59 PM, Jeff Hennick wrote: >> I am having a problem with Pipelines, discovered while preparing for the Symposium. It is using the PARSE stage: it works great if the stage name in the pipe is all lowercase, "parse," but not if it is uppercase, "PARSE." Other stage names work fine upper or lower. I don't know if there are other problem names or not. >> >> Here, m3 is lowercase and m4 upper. >> >> Here I compile and run them. Below is the listings of the files. >> >> PS C:\Users\Jeff\Documents\nr5\examples\pipes> pipc m3 >> pipe (m3 ) literal blue brown red | parse /_1 . / /Part z1, has _1 units/ | cons >> PS C:\Users\Jeff\Documents\nr5\examples\pipes> java m3 >> Part z1, has blue units >> PS C:\Users\Jeff\Documents\nr5\examples\pipes> pipc m4 >> pipe (m4 ) literal blue brown red | PARSE /_1 . / /Part z1, has _1 units/ | cons >> PS C:\Users\Jeff\Documents\nr5\examples\pipes> java m4 >> RC=16 >> PS C:\Users\Jeff\Documents\nr5\examples\pipes> cat m3.njp >> pipe (m3) >> >> literal blue brown red | >> parse /_1 . / /Part z1, has _1 units/ | >> cons >> >> PS C:\Users\Jeff\Documents\nr5\examples\pipes> cat m4.njp >> pipe (m4) >> >> literal blue brown red | >> PARSE /_1 . / /Part z1, has _1 units/ | >> cons >> >> PS C:\Users\Jeff\Documents\nr5\examples\pipes> >> >> >> _______________________________________________ >> netrexx-pipelines mailing list >> net...@li... <mailto:net...@li...> >> https://lists.sourceforge.net/lists/listinfo/netrexx-pipelines > _______________________________________________ > netrexx-pipelines mailing list > net...@li... > https://lists.sourceforge.net/lists/listinfo/netrexx-pipelines |