To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.roboticsOpen lugnet.robotics in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / 26700
26699  |  26701
Subject: 
Re: Drive types
Newsgroups: 
lugnet.robotics
Date: 
Tue, 9 Jan 2007 23:23:26 GMT
Viewed: 
2955 times
  
In lugnet.robotics, Philippe Hurbain wrote:
Using Precedes and Follows you can define as complex (or simple) a net of thread
inter-dependencies as you may need.

John Hansen

Thanks John - quite clear now. Though I still don't understand why there are 2
different opcodes that can be used for more or less the same thing???


The presence of both opcodes comes from the early days of NBC when I was trying
to understand the executable file format (before the days of documentation) and
I knew that in the NXT-G compiler a clump had both upstream and downstream
dependencies.  So I came up with "uses" and "requires" which Michael Barrett
Anderson recommended that I rename as "precedes" and "follows".

They both work toward achieving the same goal but from different directions (as
it were).  Since the compiler checks to make sure the names listed in either a
Precedes or Follows statement are known task names the order that the tasks
occur in your source code file somewhat determines which form of these
statements should be used.

John Hansen



Message is in Reply To:
  Re: Drive types
 
(...) Thanks John - quite clear now. Though I still don't understand why there are 2 different opcodes that can be used for more or less the same thing??? Philo (18 years ago, 9-Jan-07, to lugnet.robotics)

14 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