89
C-Control Pro Mega Series
© 2008 Conrad Electronic
·
Multi line commentaries start with "
/*
" and end up with "
*/
".
/* a
multi line
commentary */
// a single line commentary
Identifier
Identifier are the names of
.
·
Valid characters are letters (
A-Z
,
a-z
), numbers (
0-9
) and the low dash ('
_
')
·
An identifier always starts with a letter
·
Upper and lower case writings are differentiated
·
·
The length of identifiers is unlimited
Arithmetic Expressions
An arithmetic expression is a quantity of values connected by
. In this case quantities can
either be Figures,
A simple example:
2
+
3
Here the numerical values
2
and
3
are connected by the Operator "
+
". An arithmetic value again
represents a value. In this case the value is
5
.
Further examples:
a -
3
b + f(
5
)
2
+
3
*
6
Following the rule "Dot before Line" here 3 times 6 is calculated first and then 2 is added. This
priority is in case of operators called precedence. A list of priorities can be found in the
Comparisons too are arithmetic expressions. The comparison operators return a truth value of
"1" or "0", depening on whether the comparison was true or not. The expression "
3
<
5
" yields the
value "1" (true).
Constant Expressions
An expression or portions of an expression can be constant. Portions of an expression can already
Содержание C-Control Pro Mega Series
Страница 1: ... 2008 Conrad Electronic C Control Pro Mega Series ...
Страница 9: ...VIII Inhalt 2008 Conrad Electronic ...
Страница 10: ...Part 1 ...
Страница 17: ...Part 2 ...
Страница 23: ...Part 3 ...
Страница 41: ...32 Hardware 2008 Conrad Electronic 3 3 5 3 Component Parts Plan ...
Страница 57: ...48 Hardware 2008 Conrad Electronic 3 4 5 3 Component Parts Plan ...
Страница 58: ...Part 4 ...
Страница 91: ...82 IDE 2008 Conrad Electronic ...
Страница 92: ...Part 5 ...
Страница 135: ...126 Compiler 2008 Conrad Electronic 31 1F US 63 3F 95 5F _ 127 7F DEL ...
Страница 136: ...Part 6 ...
Страница 231: ...Part 7 ...
Страница 240: ......