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 / 1391
1390  |  1392
Subject: 
Re: error undefined variable "SENSOR_1"
Newsgroups: 
lugnet.robotics.rcx.nqc
Date: 
Thu, 28 Mar 2002 12:43:27 GMT
Viewed: 
3526 times
  
In lugnet.robotics.rcx.nqc, Russell Newman writes:
When I use the command SetSensor(SENSOR_1,SENSOR_TOUCH); it says that
SENSOR_1 and SENSOR_TOUCH are undefined variable. I have try to reinstall it
but that did not work. I tryed to run some of the programs in the Examples
file and those do not work either. and if it help I am useing Bricxcc 3.3.4.4

The only way I've seen this occur is if you turn on NQC 1.x compatibility
mode in the Preferences dialog.  In fact, I'm sure this is the problem
(having just tested it with that option turned on).

It may be possible that that option is getting set by a bug in my code but I
don't think so.  Is it possible that you accidently selected it?

Thanks,

John Hansen



Message is in Reply To:
  error undefined variable "SENSOR_1"
 
When I use the command SetSensor(SENSOR_1,S...OR_TOUCH); it says that SENSOR_1 and SENSOR_TOUCH are undefined variable. I have try to reinstall it but that did not work. I tryed to run some of the programs in the Examples file and those do not work (...) (22 years ago, 27-Mar-02, to lugnet.robotics.rcx.nqc)

3 Messages in This Thread:


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

Custom Search

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