To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.rcxOpen lugnet.robotics.rcx in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / RCX / *160 (-5)
  Re: NQC tutorial available
 
(...) "if (Random(100) == 0)" used to be a compiler error, but version 1.2 of NQC is smart enough to generate a temporary variable to hold the random number. A trickier problem is Sleep(). Sleep(Random(100)) parses just fine. Since Sleep() is just a (...) (26 years ago, 31-Mar-99, to lugnet.robotics.rcx.nqc, lugnet.robotics)
 
  Re: NQC tutorial available
 
(...) I think Mark is waiting for me to release NQC 1.3 - which is where SetWatch() gets added. In the meantime, you can define it yourself within your source code... #define SetWatch(h, m) asm { 0x22, (h), (m) } Dave (26 years ago, 31-Mar-99, to lugnet.robotics.rcx.nqc, lugnet.robotics)
 
  Re: NQC tutorial available
 
Mark, In the section on "Display", you mention "Setwatch()" is available in V2.3. Any guess when this will be available? Thanks, -Phil (...) (26 years ago, 30-Mar-99, to lugnet.robotics.rcx.nqc, lugnet.robotics)
 
  Re: cputs / argc,argv / snapshot
 
Oops. Did I say David? That's what you get for speaking on the phone and typing simultaneously. I meant Dan, of cause! (26 years ago, 30-Mar-99, to lugnet.robotics.rcx.legos)
 
  cputs / argc,argv / snapshot
 
Hi, I implemented a cleaner cputs(). Should work with all compilers, also 20% smaller. I went ahead and implemented argc/argv parameter passing for execi as well. This prompted a bugfix for memcpy, which I did create. As I was at it, I also merged (...) (26 years ago, 30-Mar-99, to lugnet.robotics.rcx.legos)


Next Page:  5 more | 10 more | 20 more

Redisplay Messages:  All | Compact

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