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 / 1698
     
   
Subject: 
SetUserDisplay?
Newsgroups: 
lugnet.robotics.rcx.nqc
Date: 
Sat, 30 Oct 2004 00:53:09 GMT
Viewed: 
5357 times
  

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

   
         
   
Subject: 
Re: SetUserDisplay?
Newsgroups: 
lugnet.robotics.rcx.nqc
Date: 
Sat, 30 Oct 2004 18:45:44 GMT
Viewed: 
5882 times
  

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.

Dave

   
         
   
Subject: 
Re: SetUserDisplay?
Newsgroups: 
lugnet.robotics.rcx.nqc
Date: 
Sat, 30 Oct 2004 21:22:26 GMT
Viewed: 
5708 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

   
         
     
Subject: 
Re: SetUserDisplay?
Newsgroups: 
lugnet.robotics.rcx.nqc
Date: 
Sat, 30 Oct 2004 21:27:46 GMT
Viewed: 
5754 times
  

In lugnet.robotics.rcx.nqc, Ross Crawford wrote:
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

correct.

Kevin

   
         
   
Subject: 
Re: SetUserDisplay?
Newsgroups: 
lugnet.robotics.rcx.nqc
Date: 
Wed, 1 Feb 2012 01:12:12 GMT
Viewed: 
26938 times
  

In lugnet.robotics.rcx.nqc, Ross Crawford wrote:
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

????
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 compile I still
get the error the OP was getting.
=(

-AHui

 

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