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 / 68
    Does NQC support arrays? —Hari Wiguna
   I'm building a BrickCode Reader. Basically it reads a stack of 2x2 bricks of various colors like a barcode. I've managed to hack together a prototype BrickCode Reader. I can feed it a stack of bricks and it beeps different tones based on which color (...) (25 years ago, 18-May-99, to lugnet.robotics.rcx.nqc)
   
        Re: Does NQC support arrays? —Alex Wetmore
     Hari Wiguna <hari@mindvision.com> wrote in message news:FBx2nH.B42@lugnet.com... (...) Nope, it doesn't. This is due to a limitation in the RCX environment. If it did support arrays you could have a max of 32 elements (assuming you didn't have any (...) (25 years ago, 18-May-99, to lugnet.robotics.rcx.nqc)
   
        Re: Does NQC support arrays? —Jim Karkanias
   Depending on what the value in the array needs to be you could use a bitmap (e.g. if you want to store true/false to denote the presence of something)... you could then represent the decimal value of the "array" of ones and zeros ... so, for (...) (25 years ago, 18-May-99, to lugnet.robotics.rcx.nqc)
 

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