When I wrote the code, it seemed like it should be more than enough. Remember, that there is also a maximum line length (is it 256 characters?).
I suggest that if you need more parameters, that you instead just use global named variables. That should be functionally equivalent for almost all cases. (I assume that these procedures are not being called recursively). It is possible to increase the limit (probably by changing a single constant in an include file). Removing the limit would require more work and would have little benefit. Regards, Ken On 11/26/2012 1:16 PM, tuxcnc wrote: > Hi. > > Subroutine can get up to 30 parameters. > Why and what for is the limit? > My friend makes an large ngcgui procedure and lacks parameters. > I cant help him with no changes source code of LinuxCNC. > Is it possible increase or remove the limit? > > Regards. > > ------------------------------------------------------------------------------ > Monitor your physical, virtual and cloud infrastructure from a single > web console. Get in-depth insight into apps, servers, databases, vmware, > SAP, cloud infrastructure, etc. Download 30-day Free Trial. > Pricing starts from $795 for 25 servers or applications! > http://p.sf.net/sfu/zoho_dev2dev_nov > _______________________________________________ > Emc-developers mailing list > Emc-developers@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/emc-developers ------------------------------------------------------------------------------ Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov _______________________________________________ Emc-developers mailing list Emc-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-developers