| | 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)
|
|
| | Re: Datalog with NQC 2.2 a1
|
|
(...) The datalog appears to work fine, and you still have the same amount of program/datalog space. There was a ton of unused RAM in the older firmware, so Lego was able to pack a lot of new features in without reducing the user space. Dave Baum (25 years ago, 8-May-00, to lugnet.robotics.rcx.nqc)
|
|
| | updated nqc man page
|
|
I've made a preliminary man page for nqc 2.2. (URL) (Hastily converted to HTML at (URL).) It mentions 2.2.r1 -- my thinking is to target the man page at the actual releases, not the alpha.... Comments? Errors? (25 years ago, 8-May-00, to lugnet.robotics.rcx.nqc)
|
|
| | 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
|
|
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 (...) (25 years ago, 8-May-00, to lugnet.robotics.rcx.nqc)
|