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 / 1048
1047  |  1049
Subject: 
Re: Yet another Q: IR messages
Newsgroups: 
lugnet.robotics.rcx.nqc
Date: 
Sat, 31 Mar 2001 00:33:47 GMT
Viewed: 
2303 times
  
If I am understanding what you want correclty (I have never used the
RCX-code) only NQC then try this.


Assume: RCX2 is sending message # 15 to RCX1.  RCX1 is in a waiting state
until it gets the message

RCX code:
.
.
.
While (Message() != 15){
  ++i;
}
.
.
.

this code will have RCX1 adding I to itself until it gets a message #15 from
RCX2
In lugnet.robotics.rcx.nqc, Tobias Möller writes:
Thanks for the information so far.

Is there any NQC command similar to the RCX-code "wait until message"-block?

--Tobias



Message is in Reply To:
  Re: Yet another Q: IR messages
 
Thanks for the information so far. Is there any NQC command similar to the RCX-code "wait until message"-block? --Tobias (24 years ago, 30-Mar-01, to lugnet.robotics.rcx.nqc)

6 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