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 / 1904
1903  |  1905
Subject: 
Re: NQC and RCXCC
Newsgroups: 
lugnet.robotics.rcx.nqc
Date: 
Wed, 1 Feb 2012 01:18:07 GMT
Viewed: 
28024 times
  
In lugnet.robotics.rcx.nqc, Ahui Herrera wrote:
In lugnet.robotics.rcx.nqc, Bernd Frassek wrote:
Using NQC together with RCXCC (by Mark Overmars) is a fine combination that
fulfills my demands for writing software, debugging and testing. Unfortunately,
Mark Overmars, the author of RCXCC will not do any further development for
this product.

Meanwhile, I succeeded in "implementing" all the new features of the latest NQC
version into RCXCC. Here is what I did:

For writing programs, RCXCC functions just as a text editor with the aibility
to high-light and colorize special words. These words are arranged in lists
(keywords, functions, macros, templates) and stored in the Windows registry. I
put in all of the new features (e.g. access control, monitor, setuserdisplay,
etc.). I also added templates for all new NQC commands.

The new NQC file was copied into the RCXCC directory.

An Environment variable was defined (thanks again to Dave Baum who gave me the
hint and did foresee to check environment variables befor NQC is executed).
Since I am using Windows 95 I had to do this within the AUTOEXEC.BAT file (when
using higher versions of Windows or NT you can define this under File
Properties in a "nice" window):

Set NQC_OPTIONS=-Trcx2

The result of all this works perfectly.

If there is anyone who wants to work with the same NQC/RCXCC combination, I can
send the exported RCXCC registry key file via mail. All you will have to do is
to copy this key file file onto your desktop and afterwards double-click on it.
The registry will be updated immediately and you can use RCXCC with the new
features. Sometimes I am "overwhelmed" that things are so easy with Windows and
don't cause any problems ...   ;-)

Bernd

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



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

Message is in Reply To:
  Re: NQC and RCXCC
 
(...) 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 (13 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