On Wed, 2009-05-27 at 23:50 +0100, alan battersby wrote: > Hi , > I am trying to generate gcode automatically but seem to have a problem. > Can anyone tell me why I get the error message > > near line 27 bad character '*' used > > in this code running on axis on emc 2.4.0 simulator > thanks > Alan ... snip
I have done very little with O words, so I am guessing, but maybe this line: > #<_current_depth> = [#<_loop_count> + 1] * [#<_max_cut>] needs to be: #<_current_depth> = [[#<_loop_count> + 1] * [#<_max_cut>]] I don't know if you can nest []'s. Maybe it's the spaces around the *: #<_current_depth> = [#<_loop_count> + 1]*[#<_max_cut>] but then EMC2 wouldn't like the space around the +. there is some thing close to the * that isn't right. -- Kirk Wallace http://www.wallacecompany.com/machine_shop/ http://www.wallacecompany.com/E45/index.html California, USA ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com _______________________________________________ Emc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-users
