Note: This website is archived. For up-to-date information about D projects and development, please visit wiki.dlang.org.

Changes between Version 5 and Version 6 of Lang/Statements

Show
Ignore:
Author:
JarrettBillingsley (IP: 24.131.65.183)
Timestamp:
11/18/08 21:32:28 (15 years ago)
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Lang/Statements

    v5 v6  
    154154>>> 
    155155}}} 
     156 
    156157 
    157158 
    586587=== Declaration Statements === 
    587588 
    588 Declaration statements include variable, function, object, and namespace declarations.  Right now, though, I'll only talk about variable declarations; the other three kinds of declarations will be covered later (and are really just sugar for variable declarations anyway!). 
     589Declaration statements include variable, function, class, and namespace declarations.  Right now, though, I'll only talk about variable declarations; the other three kinds of declarations will be covered later (and are really just sugar for variable declarations anyway!). 
    589590 
    590591There are two kinds of variables in MiniD: locals and globals.  We've been using globals for a while now, mostly because in MDCL they're more useful.  But when you're writing real code inside modules, more than likely you'll be using locals a lot more than globals.