Hi Gene, Remember that a variable must be defined (assigned to) before it is used. In this case, before means at run time; not necessarily lexically.
I don't know if that is the problem, but it is a place to look. Regards, Ken On 03/05/2012 05:46 PM, gene heskett wrote: > On Monday, March 05, 2012 05:45:02 PM gene heskett did opine: > >> linuxcnc is now complaining that a named var isn't defined, after it has >> been used quite a few times: >> >> gene@shop:~/linuxcnc/nc_files$ grep -n "#<_loop_rad>" taper_hub.ngc >> 42:#<_loop_rad> = [#<_tmp_rad> + abs[#<_tempz>] * tan[#<_tpr_angle>]] >> 45:o301 if [#<_loop_rad> lt #<_start_rad>] >> 46:(debug, o301 loop_rad=#<_loop_rad>) >> 49:g1f#<_feedrate> x[0.0000 - #<_loop_rad>] y0.0 >> 51:g2f#<_feedrate> i#<_loop_rad> z#<_tempz> >> 60:#<_old_rad> = #<_loop_rad> >> 63:#<_new_start> = [#<_loop_rad> -0.002] >> 93:#<_loop_rad> = [#<_tmp_rad> + abs[#<_tempz>] * tan[#<_tpr_angle>]] >> 96:o501 if [#<_loop_rad> lt #<_new_start>] >> 99:g1f#<_feedrate> x[0.0000 - #<_loop_rad>] y0.0 >> 100:g2f#<_feedrate> i#<_loop_rad> z#<_tempz> >> >> It is complaining about line 60. I have stared at this for an hour& >> cannot see the reason. >> >> Code is at the usual place in the sig. >> >> Thanks for looking. >> >> Cheers, Gene > Except my web page seems to be missing, and I've checked the router, I've > pinged it, and restarted httpd several time without error. Reboot is next > I guess. > > Cheers, Gene ------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ _______________________________________________ Emc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-users
