On 2 Oct 2014, at 18:32, andy pugh wrote:

> On 2 October 2014 17:59, alex chiosso <achio...@gmail.com> wrote:
> 
>> I've checked out the "jump" functionality (within the G code) used from
>> several CNCs on the market (Fanuc,Siemens ,Heidenhain,Fagor ...) and it is
>> present.
> 
> Nearly every other programming language either does not have a
> jump/goto or deprecates the use of it.
> 

I second that emotion

> A do-while loop can generally be used for a conditional jump
> backwards, and a while-endwhile for forwards, but only to specific
> points, and they can't be interleaved without madness ensuing.
> 
> A cleaner way to do what I think you are proposing is to have the code
> blocks in subs, and then conditionally loop between a sequence of the
> subs.
> 

Logically more structured; saner, too.
On of the most valuable features of LinuxCNC is its growth as a programming 
"language", with decent and useful logical structures. Structure is a key 
attribute. 

Marcus
> -- 
> atp
> If you can't fix it, you don't own it.
> http://www.ifixit.com/Manifesto
> 
> ------------------------------------------------------------------------------
> Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
> Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
> Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
> Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
> http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk
> _______________________________________________
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users


------------------------------------------------------------------------------
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to