On Sunday 21 July 2013 12:37:20 charles green did opine: > " > #<_DD>=1 > #<_RR>=#<_DD>/2 > " > > lcnc v2.5.0 generates error "bad character "/" used around whatever > line" > > " > #<_DD>=1 > #<_RR>=#<_DD>*.5 > " > > generates error "bad character "*" used around whatever line" > > removing the '*/' line altogether from a longer program grenerates "bad > character "+" used on whatever line" containing the next expression. > > i thought math was allowed? what am i missing? i typed everything key > by key into gedit, so it's not that sort of problem.
Math is allowed but you /must/ pay attention to the syntax. Any math operation such as above must be put in a [box], only straight assignments of one var to another are allowed. #<_RR>=#<_DD> is legal, but what you want to do needs the box: #<_RR>=[#<_DD>*.5] or #<_RR>=[#<_DD>/2] And you can nest them several layers deep to enforce the wanted order of processing, but the number of [[ must equal the number of ]] in a given line of gcode. Cheers, Gene -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author) My web page: <http://coyoteden.dyndns-free.com:85/gene> is up! My views <http://www.armchairpatriot.com/What%20Has%20America%20Become.shtml> Anything anybody can say about America is true. -- Emmett Grogan A pen in the hand of this president is far more dangerous than 200 million guns in the hands of law-abiding citizens. ------------------------------------------------------------------------------ See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk _______________________________________________ Emc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-users
