| | Re: Brick Constants in NQC/Bricx
|
| (...) Yes - I don't know about Bricx - but the NQC example programs contain one that says: #ifdef __RCX ...and (more significantly) the system file 'compiler/rcx2.nqh' contains #if __RCX==2 #if defined(__SCOUT) ...and a bunch of other defines (...) (22 years ago, 8-Jan-03, to lugnet.robotics)
| | | | Re: Brick Constants in NQC/Bricx
|
| __SCOUT and __RCX behave as you guessed. There are also defines for __CM and __SPY for spybotics and cybermaster targets, respectively. These constants should work for BricxCC, or any other NQC environment since they are defined by the NQC compiler. (...) (22 years ago, 9-Jan-03, to lugnet.robotics)
| |