[Emc-users] Help with Gcode problem

2009-05-27 Thread alan battersby
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 () (Date: 27/05/2009 00:00:00)

Re: [Emc-users] Help with Gcode problem

2009-05-27 Thread Jeff Epler
On Wed, May 27, 2009 at 11:50:12PM +0100, alan battersby wrote: #_current_depth = [#_loop_count + 1] * [#_max_cut] Instead, write #_current_depth = [[#_loop_count + 1] * #_max_cut] that is, put [] around the entire expression. Jeff

Re: [Emc-users] Help with Gcode problem

2009-05-27 Thread samco
Try #_current_depth = [[#_loop_count + 1] * [#_max_cut]] n Wed, 27 May 2009 23:50:12 +0100 alan battersby alan.batter...@ntlworld.com 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

Re: [Emc-users] Help with Gcode problem

2009-05-27 Thread Kirk Wallace
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 ...