| | Modulo operator in NQC
|
| I'm trying to use the modulo operator in NQC, but I get an error that it expects constants. I checked the docs and that indeed seems to be the case. While I'm sure there must be instances where one would use constants on both sides of the operator, (...) (25 years ago, 30-Mar-00, to lugnet.robotics.rcx.nqc)
| | | | Re: Modulo operator in NQC
|
| (...) The limitation is more historical than anything else. Originally expressions were all evaluated at compile time, which is why I have a bunch of operators (%, >>, <<) that have no corresponding bytecodes in the firmware. Over the last few (...) (25 years ago, 31-Mar-00, to lugnet.robotics.rcx.nqc)
| |