Subject:
|
Re: NQC 2.2 a1 available for public test
|
Newsgroups:
|
lugnet.robotics.rcx.nqc
|
Date:
|
Mon, 8 May 2000 15:00:07 GMT
|
Viewed:
|
1866 times
|
| |
| |
There is still a problem when nqc uses the first three global variables if
you also want to use a counter.
The current solution is to make the first int lines reflect the fact that
they will be used as counters.
#Define COUNTER_1 0
int count1
int count2
int count3
int varible1
varible1 = Counter(COUNTER_1)
Sorry if this sounds a bit strange I'll post some code when I find it.
Dave Baum <dbaum@spambgoneenteract.com> wrote in message
news:dbaum-5971D6.01155106052000@lugnet.com...
> Preliminary NQC support for RCX 2.0 is now available in NQC version
> 2.2a1. Its in the beta test area of the NQC site:
> http://www.enteract.com/~dbaum/nqc
>
> There have been a lot of changes internal to the compiler itself, and
> RCX 2.0 support is only partially complete at the moment, but I figured
> an early release would be better than nothing.
>
> Dave Baum
>
> --
> reply to: dbaum at enteract dot com
|
|
Message has 2 Replies: | | Re: NQC 2.2 a1 available for public test
|
| Working code using a counter. /* * lstop8.nqc - Line and Wall avoider * * Copyright (C) 2000 James Pritchard * * Date: 08-May 2000 * * * The contents of this file are subject to the Mozilla Public License * Version 1.0 (the "License"); you may not (...) (25 years ago, 8-May-00, to lugnet.robotics.rcx.nqc)
| | | Re: NQC 2.2 a1 available for public test
|
| (...) I completely missed the fact that counters were overlapped with global vars. I'll have to come up with a good mechanism for allocating these. I think the scout handles things differently where the counters are actually unique from variables. (...) (25 years ago, 8-May-00, to lugnet.robotics.rcx.nqc)
|
Message is in Reply To:
| | NQC 2.2 a1 available for public test
|
| Preliminary NQC support for RCX 2.0 is now available in NQC version 2.2a1. Its in the beta test area of the NQC site: (URL) have been a lot of changes internal to the compiler itself, and RCX 2.0 support is only partially complete at the moment, but (...) (25 years ago, 6-May-00, to lugnet.robotics.rcx.nqc) !
|
22 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
|
|
|
|