Differences

This shows you the differences between two versions of the page.

Link to this comparison view

variables_and_constants [2012/03/06 22:18]
cvanvliet fixed a few grammar erros
variables_and_constants [2013/02/21 08:31] (current)
thomaslocke [Variables]
Line 61: Line 61:
 </​code>​ </​code>​
  
-Notice the homegrown //Colors// type. First we declare the new type, and then we declare the //Color// variable the of that type. This is one of the biggest strengths of Ada: The ability to declare your own types and subtypes. More can be on this subject in the [[types and subtypes]] article. ​+Notice the homegrown //Colors// type. First we declare the new type, and then we declare the //Color// variable the of that type. This is one of the biggest strengths of Ada: The ability to declare your own types and subtypes. More can be found on this subject in the [[types and subtypes]] article. ​
  
 Now, let's try and use the above declared variables in an actual program: Now, let's try and use the above declared variables in an actual program:

Navigation