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 / 1881
1880  |  1882
Subject: 
Re: nqc compilation errors
Newsgroups: 
lugnet.robotics.rcx.nqc
Date: 
Sun, 14 Jan 2007 20:04:01 GMT
Viewed: 
11315 times
  
In lugnet.robotics.rcx.nqc, Gus Jansson wrote:
In lugnet.robotics.rcx.nqc, Theo Epstein wrote:

both support for indirect variables and arrays is specified in
http://bricxcc.sourceforge.net/nqc/doc/NQC_Guide.pdf page 11 and 15

so.. whats the problem?

Only the RCX2 firmware supports these features.  If you set the target to RCX2
then it will compile.



Gus is correct, although there are other targets which support arrays and
indirect variables.

NQC defaults to RCX as the target.  You need to use the -TRCX2 switch if you are
running the 2.0 firmware on your RCX and you want to use arrays and indirect
variables.  You could also use the Swan firmware for the RCX and use -TSwan or
if you have a Spybot you could use -TSpy as the target.  Section 2.2.5 in the
NQC Guide (entitled "Arrays") starts with a statement indicating that only the
RCX2, Spybot, and Swan targets support arrays.  The NQC Guide could be clearer
about which targets support indirect variables but it happens to be the same as
which targets support arrays.

John Hansen



Message is in Reply To:
  Re: nqc compilation errors
 
(...) Only the RCX2 firmware supports these features. If you set the target to RCX2 then it will compile. Gus (18 years ago, 14-Jan-07, to lugnet.robotics.rcx.nqc)

4 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