Hello Guest it is April 19, 2024, 11:31:32 AM

Author Topic: Logical operators and IF statement  (Read 2305 times)

0 Members and 1 Guest are viewing this topic.

Offline rcaffin

*
  •  1,054 1,054
    • View Profile
Logical operators and IF statement
« on: August 06, 2010, 07:00:44 AM »
I know there are some ways to implement a NOT operator and an EQ (or NEQ) operator, but they are messy.
Could we please have explicit NOT(x), a.EQ.b, a.NEQ.b operators? They would be very easy to do.
While I am at it ... in addition to .EQ., how about .GT. and .GE. (etc)?

And PLEASE, could we have an explicit IF THEN ELSE statement? Yes, the effect can be done with macros, but that is obscure and clumsy. Clarity in code is very desirable.

Adding the Conditional could transform the way we write g-code for industrial use. Please?

Cheers