Changes between Version 6 and Version 7 of Lang/GettingStarted
- Timestamp:
- 11/18/08 21:28:27 (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Lang/GettingStarted
v6 v7 213 213 }}} 214 214 215 So, most things that you'll be using in MDCL will be global. When you declare functions, objects, or namespaces, they default to global; that's why the 'square' example worked before. And if you need a global variable, you'll have to explicitly declare it first:215 So, most things that you'll be using in MDCL will be global. When you declare functions, classes, or namespaces, they default to global; that's why the 'square' example worked before. And if you need a global variable, you'll have to explicitly declare it first: 216 216 217 217 {{{