Changes from Version 1 of MakingCalculations
- Timestamp:
- 11/05/05 00:13:04 (18 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
MakingCalculations
v0 v1 1 = Declaring Variables = 2 3 ''Part of'' TutorialFundamentals 4 5 In order to store information within a D program, you must declare variables before they are used. The syntax is ''name_of_type'' ''identifier''. 6 7 {{{ 8 #!d 9 void main() 10 { 11 int myInteger; 12 double myDouble; 13 bit myBit; 14 char[] myString; 15 } 16 }}}