View Single Post
  #2   Spotlight this post!  
Unread 31-05-2011, 00:23
SavtaKenneth SavtaKenneth is offline
Registered User
AKA: Yotam Kenneth
FRC #2212
Team Role: Alumni
 
Join Date: Jan 2010
Rookie Year: 2009
Location: Israel
Posts: 63
SavtaKenneth will become famous soon enough
Re: Project Wide Parameters

Which programming language are you using?

In Java and C++ you can create a class with all the variables defined as 'public static' and then you could have access to them from any file from the project. If you named the class Vars and a variable inside it var1 accessing it (in Java, I don't remember C++ syntax sadly) would be

Code:
Vars.var1
__________________
2012-Present Referee
2014 & 2015 Israel Regional Volunteer of The Year Award

2212 alumni