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



Message has 1 Reply:
  Re: NQC and RCXCC
 
(...) 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. (...) (12 years ago, 1-Feb-12, to lugnet.robotics.rcx.nqc)

Message is in Reply To:
  Re: NQC and RCXCC
 
(...) 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 (...) (12 years ago, 1-Feb-12, 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