Welcome, Guest. Please login or register.
Did you miss your activation email?
May 26, 2012, 05:51:24 PM

Login with username, password and session length
Search:     Advanced search
* Home Help Search Calendar Links Login Register
+  Machsupport Forum
|-+  Mach Discussion
| |-+  Feature Requests
| | |-+  Logical operators and IF statement
Pages: 1   Go Down
Print
Author Topic: Logical operators and IF statement  (Read 318 times)
0 Members and 1 Guest are viewing this topic.
rcaffin
Active Member

Offline Offline

Posts: 280


View Profile
« on: August 06, 2010, 06: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
Logged
Pages: 1   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!