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 / 950
    Re: Error in program —Juergen Stuber
   (...) Your array is too small, it runs from 0 to 6. Maybe you should also put a CounterLength = 0; before the first until. until(SENSOR_2 == 1); makes it wait for the sensor being pressed. Also, as a matter of style, I'd rather use (...) (24 years ago, 1-Feb-01, to lugnet.robotics.rcx.nqc)
   
        Re: Error in program —Andi Scharfstein
   (...) Already got that answer, but thanks. (...) Done with initialization (int CounterLength=0;), isn't it? Please correct me if I am wrong. (...) Yes, you are right. But it didn't occur to me the time I wrote it. (...) (24 years ago, 1-Feb-01, to lugnet.robotics.rcx.nqc)
 

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