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 / 948
947  |  949
Subject: 
Re: Error in program
Newsgroups: 
lugnet.robotics.rcx.nqc
Date: 
Thu, 1 Feb 2001 12:52:28 GMT
Reply-To: 
ASH@JADZIA-DAX.spamcakeDE
Viewed: 
2087 times
  
Chris Hood wrote:
>
> Well I am just a newbie to NQC and to the whole Mindstorm experience,
> however here is what the compiler says when I try to compile the program
> that you submitted.
>
>
> Line 1: Error: RCX does not support Arrays

Hi Chris, thanks for your reply. In the meanwhile, I got a PM of someone
who told me that I had to initialize the arrays not with array[7] for
entries 0-7 but with array[8], as there are 8 pieces in 0-7. Very well.
Your output, however, is caused by the fact that the compiler tries to
target the RCX 1.x, whereas my program is written for a RCX 2.0 (my
fault, forgot to mention it). You'd have to download the 2.0 firmware
from legomindstorms.com, install it and use the -Trcx2 option with nqc.
Anyway, thanks for trying it!
--
Bye: Andi S.



Message is in Reply To:
  Re: Error in program
 
Well I am just a newbie to NQC and to the whole Mindstorm experience, however here is what the compiler says when I try to compile the program that you submitted. Line 1: Error: RCX does not support Arrays I hope that this helps. Chris (...) (24 years ago, 1-Feb-01, to lugnet.robotics.rcx.nqc)

5 Messages in This Thread:


Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

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