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 / 19947
19946  |  19948
Subject: 
Re: Brick Constants in NQC/Bricx
Newsgroups: 
lugnet.robotics
Date: 
Wed, 8 Jan 2003 14:37:14 GMT
Viewed: 
762 times
  
See http://news.lugnet.com/robotics/?n=19945 (but don't get your hopes up).

Paulo Tesche wrote:

Are there predefined constants generated by Bricx or NQC that identifies the
Brick (RCX, SCout ...) to wich the generated code is targeted for?




Message has 1 Reply:
  Re: Brick Constants in NQC/Bricx
 
(...) Thanks Brian, but I´m looking for ways to determine the brick at compile time, not at runtime, since the generated code must match the target API. (22 years ago, 8-Jan-03, to lugnet.robotics)

Message is in Reply To:
  Brick Constants in NQC/Bricx
 
Are there predefined constants generated by Bricx or NQC that identifies the Brick (RCX, SCout ...) to wich the generated code is targeted for? It would be really usefull to write "multi-Brick" code in a single source trough the use of #ifdef. Paulo (...) (22 years ago, 8-Jan-03, to lugnet.robotics)

5 Messages in This Thread:


Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact

This Message and its Replies on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

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