Andy, I was looking more closely at the wizards. They date from around 2014. I have been using them up until about 2 years ago. I went through a bunch of them yesterday. The only change that I had to make to get them to work was get rid of the “formal declarations” and comments on the same line as the o<word>. I don’t know strictly speaking if I had to change the comment. Then I took one of the working wizards and replaced the body of the subroutine with the code from my “bevel” wizard (plus a little editing to match variable names. I commented out the call to the subroutine and it would load. But when I uncommented the call to my subroutine it gave me the same error as before.
So the working wizard is LTurnEXT.ngc <https://pastebin.com/5Bds1Fwe> The one that still won’t work is LBevelEXT.ngc <https://pastebin.com/cn2Zzh4E> I am baffled as to what is wrong. Alan >> On Wed, 21 Oct 2020 at 14:52, Alan Condit <condit.a...@gmail.com> wrote: >> >> I have a bunch of wizards that I have written under 2.7 and under 2.8 they >> won't work. The biggest change is that you used to be able to write the >> subroutine declaration as O<CutBevel> SUB [1] [2] [3] >> like a formal declaration of parameters. Now I have to go through and make >> all of them >> just comments like O<CutBevel> SUB ([1] [2] [3]). > > This doesn't sound right. As far as I know there has not been any > change made in this regard. > There hasn't been any change in the docs that describe how to call a sub. > http://linuxcnc.org/docs/2.8/html/gcode/o-code.html#ocode:subroutines > > atp _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users