| | Re: NQC ideas
|
|
(...) I'd say go for it, it is still quite uncommon for C programmers to put their variable declarations elsewhere. Jürgen (21 years ago, 11-Mar-04, to lugnet.robotics.rcx.nqc)
|
|
| | Re: NQC ideas
|
|
(...) Hi John, C is more restrictive than C++ when it comes to variable declaration. In C, you can only declare variables at the beginning of a block before any executable. Well, lets see..... any variables declared outside a function are by (...) (21 years ago, 11-Mar-04, to lugnet.robotics.rcx.nqc)
|
|
| | NQC ideas
|
|
NQC is definitely sticking with its C heritage with respect to semi-colons. Elisabeth mentioned fancier math and IP features. Neither of those seem possible when you consider that the compiler has to generate code that runs on the LEGO firmware (...) (21 years ago, 11-Mar-04, to lugnet.robotics.rcx.nqc)
|
|
| | RE: Ideas for NQC
|
|
(...) I could not agree more with Kevin. Adding a feature, such as adding in more intricate math functions, or add in tcp/ip socket support, etc. is more fruitful than making the language syntax more like others just because someone is not used to (...) (21 years ago, 9-Mar-04, to lugnet.robotics.rcx.nqc)
|
|
| | Re: Ideas for NQC
|
|
(...) I object to this proposed change. Lack of knowledge of a language's syntax does not justify changing the syntax. (...) [SNIP] Kevin (21 years ago, 9-Mar-04, to lugnet.robotics.rcx.nqc)
|
|
| | Re: Ideas for NQC
|
|
(...) Well, it won't be easy. It doesn't help that I've been working long hours at my day job either. But I'll do my best. (...) [...] (...) In C & C++ it is not optional to use a semi-colon at the end of a line. The same goes for Java, C#, and (...) (21 years ago, 9-Mar-04, to lugnet.robotics.rcx.nqc)
|
|
| | RE: Ideas for NQC
|
|
(...) ...a bit like NQP (Not Quite Pascal) :D ? (...) That would have to be called NQB (Not Quite BASIC) ;) Ok, now, seriously, this could be usefull for lazzy typists like me, but remember that C is case sensitive, so, how could BricxCC decide (...) (21 years ago, 9-Mar-04, to lugnet.robotics.rcx.nqc)
|
|
| | Ideas for NQC
|
|
Hi John, Now that Dave Baum has given you the control under NQC, how will you manage to work both on NQC and on BricxCC??? I recomend the following changes: For NQC, something that you can add is optional use of semi-colon. It's a pain when I do a (...) (21 years ago, 8-Mar-04, to lugnet.robotics.rcx.nqc)
|
|
| | Re: Controlling events
|
|
(...) Catching up on LUGNET after a busy couple of days, I notice that John is moving the BricxCC page to: (URL) (See (URL) for more details.) John, the LEGO website also has a link to your AOL page here: (URL) so you might want to contact them so (...) (21 years ago, 12-Feb-04, to lugnet.robotics.rcx.nqc)
|
|
| | Re: Controlling events
|
|
(...) You can use events with a 1.0 RCX, but only if you load the 2.0 firmware into it. Download the FIRM0328.LGO firmware file instead of the FIRM0309.LGO file before you load your NQC programs into the brick. The newer firmware was supplied with (...) (21 years ago, 12-Feb-04, to lugnet.robotics.rcx.nqc)
|
|
| | Controlling events
|
|
Hi everybody. I'm trying to get into NQC and i've got some doubts. For example, can i control events with my rcx 1.0? Thanks a lot. Sole (21 years ago, 12-Feb-04, to lugnet.robotics.rcx.nqc)
|
|
| | Re: C$ - Code Only
|
|
(...) Nope. I knew there was a certain amount configurability in brickOS, but I assumed it would be hard to get it down to a minumum. (...) With librcx, I started out with the minimum and added only what I needed. (...) Kevin (21 years ago, 12-Feb-04, to lugnet.org.ca.rtltoronto, lugnet.robotics.rcx, lugnet.robotics.rcx.nqc)
|
|
| | NQC beta 2
|
|
I have uploaded a beta copy of NQC 3.0 a2 to my new NQC website at (URL) try this version out and let me know if you experience any problems with subroutines with the Spybotics target (which did not return correctly in all previous NQC versions). (...) (21 years ago, 12-Feb-04, to lugnet.robotics.rcx.nqc)
|
|
| | BricxCC home page is moving!
|
|
At the end of last year I finally signed up for high speed internet access from Comcast. Included in the agreement (with my wife) is that I would get rid of my long association with AOL. I've had the JohnBinder AOL email address for many, many years (...) (21 years ago, 12-Feb-04, to lugnet.robotics.rcx.nqc, lugnet.robotics, lugnet.robotics.spybotics, lugnet.robotics.scout, lugnet.robotics.rcx)
|
|
| | NQC & Spybot subroutine code generation bug
|
|
I have just received a report from a user that NQC programs containing subroutines do not execute correctly against the Spybot platform. I have confirmed that this is a problem with all versions of NQC which support the Spybot brick. This program: (...) (21 years ago, 11-Feb-04, to lugnet.robotics.rcx.nqc, lugnet.robotics.spybotics)
|
|
| | Re: C$ - Code Only
|
|
(...) I am admittedly biased toward BrickOS; however, I am wondering if you attempted to free some memory in BrickOS by disabling features that you didn't need? If you are only going to run one program (whether single threaded or multi), you can (...) (21 years ago, 7-Feb-04, to lugnet.org.ca.rtltoronto, lugnet.robotics.rcx, lugnet.robotics.rcx.nqc)
|
|
| | Re: C$ - Code Only
|
|
(...) NQC compiles not quite C code into LEGO firmware opcodes. You download the .rcx result, and LEGO firmware interprets the program. This makes it slow. QuiteC and brickOS both use H8 native C compilers that spit out H8 assembly code directly. (...) (21 years ago, 6-Feb-04, to lugnet.org.ca.rtltoronto, lugnet.robotics.rcx, lugnet.robotics.rcx.nqc)
|
|
| | Re: C$ - Code Only
|
|
(...) Forgive a clueless question here, but is QuiteC different than NotQuiteC? If so where can I learn more about it? Thanks! The oldest mention of the term "QuiteC" I could find on LUGNET was only 3 weeks ago but MAYBE I'm searching wrong? see (...) (21 years ago, 6-Feb-04, to lugnet.org.ca.rtltoronto, lugnet.robotics.rcx, lugnet.robotics.rcx.nqc)
|
|
| | Re: Receiving messages on PC
|
|
Thanks! As soon as I get a chance, I'll try this out and let you know how it works. -Dave (...) (21 years ago, 31-Jan-04, to lugnet.robotics.rcx.nqc)
|
|
| | Re: Receiving messages on PC
|
|
(...) I have just posted MSGMON, a very rough (!!!) WIN32 command-line program that will receive one-byte messages from the RCX using a USB tower. This should get you started, although it will need a lot of work to make this into anything resembling (...) (21 years ago, 31-Jan-04, to lugnet.robotics.rcx.nqc)
|