View Single Post
  #7   Spotlight this post!  
Unread 28-01-2010, 21:50
basicxman basicxman is offline
Emily Horsman
FRC #2200 (MMRambotics)
Team Role: Programmer
 
Join Date: Oct 2007
Rookie Year: 2007
Location: Burlington, Ontario
Posts: 971
basicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant future
Send a message via AIM to basicxman Send a message via MSN to basicxman Send a message via Yahoo to basicxman
Re: Not Knowing Much About Programming

Variables are containers for memory on a computer, they are associated with a name and data type (such as string, number, etc).

As Chris is me was saying about global variables, every variable has a "scope" which controls which part of your program can access other parts of the program.

A variable in program is the same concept as a variable in math such as "x^2 + 7x + 5 = 0" with x being the variable.

If you're using C++ for FRC programming I'd recommend reading http://www.cplusplus.com/doc/tutorial/ along with the FIRST manuals of course (control system manuals here, http://usfirst.org/roboticsprograms/....aspx?id=10934 and C++ manuals here, http://first.wpi.edu/FRC/frccupdates.html.

LabVIEW also has a great community over at http://decibel.ni.com/content/community/first