Thread
:
#define's scope?
View Single Post
#
8
24-01-2008, 22:05
wt200999
Texas Instruments
AKA: Will Toth
FRC #3005 (Robochargers)
Team Role: Mentor
Join Date: Mar 2006
Rookie Year: 2004
Location: Dallas, Texas
Posts: 323
Re: #define's scope?
I don't see why you are using the #Define anyway. If you want to modify it in your code just make it a global variable. If you want one constant in the top and one constant in the bottom then make the #Define a different name.
wt200999
View Public Profile
Visit wt200999's homepage!
Find all posts by wt200999
Find CD-Media Photos by wt200999
Find CD-Media Papers by wt200999