On 12/01/2014 06:25 PM, alex chiosso wrote: > This is an abstract of a post (that I opened a couple of months ago) on the > conditional-unconditional nc program flow control . >> .... USA brand CNC manufacturer (Delta Tau PMAC-NC Pro2 >> <http://www.deltatau.com/manuals/pdfs/PMAC-NC%20Pro2.pdf>) and they use >> GOTO as a standard function for the NC program control into parametric >> programming FANUC style . >> And they declare : >> To maintain FANUC compatibility, this form of a conditional expression >> should be adhered to. >> GOTO expressions <goto> can be followed by an expression .... > I used the term "jumps" because you already use an instruction called > "goto" . > So to be not ambiguous I used a different term to express myself.
I guess you mean the programming construct "go to". For gcmc, the goto(arg) function translates to rapid move to position <arg>, which has nothing at all to do with the language construct "go to". If my interpretation is the case, then read on, else please elaborate. First of all, you may want to google "Go To Considered Harmful". The argument is that a structured language should not have an explicit go to functionalty to alter program flow. In general, I subscribe to that sentiment, in which a structured language, like gcmc, never should allow to alter the program flow in unexpected ways. The language's control statements (if, while, for, repeat, etc.) already allow for the required flexibility in program flow-control. -- Greetings Bertho (disclaimers are disclaimed) ------------------------------------------------------------------------------ Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration & more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk _______________________________________________ Emc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-users
