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 / 20949
20948  |  20950
Subject: 
Re: Switching Direction
Newsgroups: 
lugnet.robotics
Date: 
Thu, 19 Jun 2003 21:28:04 GMT
Viewed: 
994 times
  
In lugnet.robotics, Philippe Hurbain wrote:
I tried to do this with a macro, but the compiler requires I use a constant and
not a variable. But as the test is done within the program I have to use a
variable.

So basically I'm looking for a replacement for OnFwd();

I stumbled on this one a few days ago... and ended up with a
if(variable)/OnFwd/else/OnRev construction :c(

Philo

I tried it and it works for me :-)

On an unrelated note am I right in thingking the only way to get the file
"afxdtctl.h" would be to upgrade to Visual c++ Ver 6?

Steve



Message is in Reply To:
  Re: Switching Direction
 
(...) I stumbled on this one a few days ago... and ended up with a if(variable)/OnFwd/else/OnRev construction :c( Philo (21 years ago, 18-Jun-03, to lugnet.robotics)

4 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