Penguin

Differences between current version and revision by previous author of variable.

Other diffs: Previous Major Revision, Previous Revision, or view the Annotated Edit History

Newer page: version 3 Last edited on Monday, October 13, 2003 7:11:57 pm by CraigBox
Older page: version 2 Last edited on Wednesday, October 8, 2003 6:04:48 pm by StuartYeates Revert
@@ -1,17 +1 @@
-In ProgrammingLanguages a variable is a name potentially associated with a value in the context of the SourceCode.  
-  
-In the (meaningless) [C]/[C++] code:  
- int blarg() {  
- char c = 'a';  
- int count = 12;  
- int i;  
- for (int i=;i<count;i++)  
- c++;  
- return (int) c;  
- }  
-  
-c, count and i are variables. i is a variable which is initially undefined (called unbound in some languages). In [C] and [C++] function definitions are not variables, although they are in [Lisp] and [Scheme ]. In some langauges (including all pure FunctionalLanguages) variables and in some contexts (const variables in [C]/[C++]) variables cannot be changed.  
-  
-Names associated with values in data (for example [HashTable]s) are not considered variables because they are not in the context of SourceCode.  
-  
-See also: MetaSyntacticVariable, [Foo], [foo]  
+Describe [variable] here