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 / 117
116  |  118
Subject: 
NQC 2 Request
Newsgroups: 
lugnet.robotics.rcx.nqc
Date: 
Tue, 14 Sep 1999 10:33:12 GMT
Viewed: 
3167 times
  
Hi,

I just wondered whether it might be handy to add OnFwdFor(motors) and
OnRevFor(motors).

Regards

Dave


--
David Warnock
Sundayta Ltd



Message has 3 Replies:
  Re: NQC 2 Request
 
Its a little too late to add to the NQC 2 API, but I can add it in a later release if people really want it. Anyone second the idea? Dave Baum (...) (25 years ago, 15-Sep-99, to lugnet.robotics.rcx.nqc)
  Re: NQC 2 Request
 
Why not just use a macro instead of expanding the language? (...) Joel Shafer joel@connect.net (25 years ago, 15-Sep-99, to lugnet.robotics.rcx.nqc)
  Re: NQC 2 Request
 
(...) If anyone wants to add these functions into their own code... void OnFwdFor(const int m, const int &t) { Fwd(m); OnFor(m, t); } void OnRevFor(const int m, const int &t) { Rev(m); OnFor(m, t); } These should be efficient - everything will be (...) (25 years ago, 15-Sep-99, to lugnet.robotics.rcx.nqc)

8 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