To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.rcx.nqcOpen lugnet.robotics.rcx.nqc in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / RCX / NQC / 1385
    problems using arrays in NQC —Aatish Bhatia
   hi I'm building a lego turing machine and in the code certain data values need to be taken into an integer array. (sepcifically, inputing a binary no. using light sensor and a stack of yellow and black bricks). However, the program didn't compile (...) (23 years ago, 27-Mar-02, to lugnet.robotics.rcx.nqc)
   
        Re: problems using arrays in NQC —Alexander Cech
   Hi, you have to tell BricxCC/NQC that you are compiling for the RIS 2.0 firmware. To do this, select "RCX2" in the "Searching for the brick" window that appears at startup (you can also make this the default value in Preferences>Startup). (...) (23 years ago, 27-Mar-02, to lugnet.robotics.rcx.nqc)
   
        Re: problems using arrays in NQC —Aatish Bhatia
   wow, I tried what you said and it worked flawlessly. I feel kinda stupid for not having thought of that for so long. thanks. aatish aatish@mac.com "Alexander Cech" <alexander.cech@chel..._this_.at> wrote in message news:GtMKMo.H79@lugnet.com... (...) (23 years ago, 27-Mar-02, to lugnet.robotics.rcx.nqc)
 

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR