From: Jeff H. <Je...@Je...> - 2021-02-03 22:20:26
|
<html> <head> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> </head> <body> <p>It appears that a stage name can not have a name that a method has.</p> <p>We have a stage <b>xrange</b> that has worked fine.</p> <p>A month or so ago, I added a convenience method to the <b>utils</b> jar named <b>xrange</b> to match the BIF in Classic Rexx. (NetRexx's <b>sequence</b> works differently if the endchar < startchar.)</p> <p>Now when I run a pipe with a <b>xrange</b> stage (which I am doing to validate 4.00), it gives the error.</p> <font face="monospace">xrange()</font><br> <font face="monospace">^^^^^^</font><br> <font face="monospace">Error: Cannot convert value of type 'netrexx.lang.Rexx' for assignment to variable of type 'org.netrexx.njpipes.stage'</font> <p>So, now I will go back and rename the method to something else. Right now, I think I have used it only once in <b>utils</b>, and of course it is in the documentation.</p> <p>Jeff<br> <font face="monospace"></font></p> <p><font face="monospace"><br> </font></p> </body> </html> |