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:
4 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|