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 / 1905
     
   
Subject: 
Re: NQC and RCXCC
Newsgroups: 
lugnet.robotics.rcx.nqc
Date: 
Wed, 1 Feb 2012 01:24:33 GMT
Viewed: 
27025 times
  

<<snip>>
he,he,he...
I'm going to bring back a 12 year old thread.
I'm using Windows XP and cannot figure out how to set the NQC_OPTIONS=-Trcx2
option.  Any idea?

-Ahui

Hi Ahui,

You can set environment variables on XP by going to Control Panel / System,
click Advanced tab, and click "Environment Variables" near the bottom.

You can add it to either system variables (available to all users) or just for
the user you normally login with.

Add a new variable, name=NQC_OPTIONS, value=-Trcx2.

Hope this helps.

ROSCO

Thanks ROSCO

I did that and it does work when I am using the "command line" of NQC.
When I do either:

nqc -Trcx2 -d counter.nqc
or
nqc -d counter.nqc

However in BricxCC when I hit compile I get an error saying
Undefined function (SetUserDisplay)
???
-Ahui

   
         
   
Subject: 
Re: NQC and RCXCC
Newsgroups: 
lugnet.robotics.rcx.nqc
Date: 
Wed, 1 Feb 2012 02:05:45 GMT
Viewed: 
27004 times
  

In lugnet.robotics.rcx.nqc, Ahui Herrera wrote:
<<snip>>
he,he,he...
I'm going to bring back a 12 year old thread.
I'm using Windows XP and cannot figure out how to set the NQC_OPTIONS=-Trcx2
option.  Any idea?

-Ahui

Hi Ahui,

You can set environment variables on XP by going to Control Panel / System,
click Advanced tab, and click "Environment Variables" near the bottom.

You can add it to either system variables (available to all users) or just for
the user you normally login with.

Add a new variable, name=NQC_OPTIONS, value=-Trcx2.

Hope this helps.

ROSCO

Thanks ROSCO

I did that and it does work when I am using the "command line" of NQC.
When I do either:

nqc -Trcx2 -d counter.nqc
or
nqc -d counter.nqc

However in BricxCC when I hit compile I get an error saying
Undefined function (SetUserDisplay)
???
-Ahui

Never mind I got it now!

It's a 2 step process.

1) Use the instructions you provided to set the "variable" in Windows XP.
!!!RESTART THE COMPUTER!!!! !!!RESTART THE COMPUTER!!!!

2) When you start BrixCC select RCX2 from the drop-down list.
DUH!!!!  =)
The simple things trip me up. ROFL!

Now off to dust the old mindstorm off as I found a non-LEGO use for it.
-AHui

 

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