View Single Post
  #3   Spotlight this post!  
Unread 23-12-2004, 15:40
jgannon's Avatar
jgannon jgannon is offline
I ᐸ3 Robots
AKA: Joey Gannon
no team
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Pittsburgh, PA
Posts: 1,467
jgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond repute
Re: Using macros with operator symbols

Quote:
Originally Posted by Dave Scheck
What is the intention of your code? Are you trying to set FOO and increment BAR? Or are you just trying to increment BAR through some sort of alternative interface?
FOO isn't intended to be an actual variable... it's just a macro, to make the the code significantly easier to understand for the kids I'm training. So, I guess I'm just trying to increment BAR through an alternative interface. Also, there may be a reason that I'll want to change BAR to a different variable, so I only want to have to change it in one place.
__________________
Team 1743 - The Short Circuits
2010 Pittsburgh Excellence in Design & Team Spirit Awards
2009 Pittsburgh Regional Champions (thanks to 222 and 1218)
2007 Pittsburgh Website Award
2006 Pittsburgh Regional Champions (thanks to 395 and 1038)
2006 Pittsburgh Rookie Inspiration & Highest Rookie Seed

Team 1388 - Eagle Robotics
2005 Sacramento Engineering Inspiration
2004 Curie Division Champions (thanks to 1038 and 175)
2004 Sacramento Rookie All-Star

_