Difference between revisions of "Language Logic"
esse quam videri
m (→Variables) |
m (→Variables) |
||
Line 7: | Line 7: | ||
<table><th>Examples</th> | <table><th>Examples</th> | ||
− | <tr style="background:red;"> | + | <tr style="background:red; border:2px outset black;"> |
<td>Language</td><td>Type</td><td>Name</td><td>Value</td> | <td>Language</td><td>Type</td><td>Name</td><td>Value</td> | ||
</tr> | </tr> |
Revision as of 03:04, 8 September 2009
Contents
Objects
Variables
Variables are objects that are given names, values and sometimes object types. The purpose of variables, are to store data for use later in a program.
Examples | |||
---|---|---|---|
Language | Type | Name | Value |
C# | const string | MyVariableName | = "MyVariableValue"; |
C++ | const char* | VariableName | = "value"; |