I am working on adding lathe diameter mode. I need to have an option for read_x() in interp_read.cc to either read the x value (radius mode) or half the X value (diameter mode).
What is the best way to pass that flag to read_x()? As far as I can see, the read_XX functions only have access to the parameters and not to the setup_struct. Would it be acceptable to use a parameter to switch radius/diameter modes? If not, what would be the cleanest way of doing this? Thanks, Les ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Emc-developers mailing list Emc-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-developers