Hello Guest it is June 18, 2025, 07:36:28 PM

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

0 Members and 1 Guest are viewing this topic.

Offline rcaffin

*
  •  1,070 1,070
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