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 / 1700
1699  |  1701
Subject: 
Re: SetUserDisplay?
Newsgroups: 
lugnet.robotics.rcx.nqc
Date: 
Sat, 30 Oct 2004 21:22:26 GMT
Viewed: 
6114 times
  
In lugnet.robotics.rcx.nqc, Dave Baum wrote:
In article <I6DH4L.1zwI@lugnet.com>,
"Ross Crawford" <rosscraw@bigpond.net.au> wrote:

I can't seem to get SetUserDisplay to compile. When I compile my program, it
gets "Error: undefined function 'SetUserDisplay'".

I thought it might be the version of NQC (3.0a1) so I downloaded 2.5r3, but
same
error.

Seems strange because SelectDisplay works fine, but I want to display a
variable.

Any ideas?

ROSCO

My guess is that NQC hasn't been told to target the 2.0 api, so it is
defaulting to 1.0 which does not have SetUserDisplay().  See
http://bricxcc.sourceforge.net/nqc/doc/faq.html#-Trcx2 for a more
detailed explanation.

Thanks Dave. I didn't notice the RCX2 option in Bricxcc, works great now! Just
to clarify, the only difference between RCX 1 & 2 (from the compile target POV)
is the firmware it's running?

ROSCO



Message has 2 Replies:
  Re: SetUserDisplay?
 
(...) correct. Kevin (20 years ago, 30-Oct-04, to lugnet.robotics.rcx.nqc)
  Re: SetUserDisplay?
 
(...) ???? Still a bit confused on this? I am running WinXP and not sure where to use the SET command? Opening up a DOS windows via CMD does show that I have this: NQC_OPTIONS=-Trcx2 along with a lot of other windows variables but when I go and (...) (13 years ago, 1-Feb-12, to lugnet.robotics.rcx.nqc)

Message is in Reply To:
  Re: SetUserDisplay?
 
(...) My guess is that NQC hasn't been told to target the 2.0 api, so it is defaulting to 1.0 which does not have SetUserDisplay(). See (URL) for a more detailed explanation. Dave (20 years ago, 30-Oct-04, to lugnet.robotics.rcx.nqc)

5 Messages in This Thread:


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

This Message and its Replies on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

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