108
Compiler
© 2008 Conrad Electronic
5.3.2
Instructions
Instruction
An instruction consists of several reserved command words, identifiers and operators and is at the
end terminated by the end of the line. In order to separate various elements of an instruction there
are spaces in between the instruction elements which are called "Whitespaces". By “spaces“ space
characters, tabulators and line feeds ("C/R and LF") are meant. It is of no consequence whether a
space is built by one or several "Whitespaces".
Simple Instruction:
a=
5
An instruction does not necessarily have to completely stand in one line. By use of the "_"
character (low dash) it is possible to extend the instruction into the next line.
If a=
5
_
' instruction across two lines
a=a+
10
It is also possible to place more than one instruction into the same line. The ":" character (colon)
will then separate the individual instructions. For reason of better readability however this option
should rather seldom be used.
a=
1
: b=
2
: c=
3
Comments
Comments
There are two types of commentaries, which are the single line and the multi line commentaries. The
text within commentaries is ignored by the Compiler.
·
Single line commentaries start with a single quotation mark and end up at the line’s end.
·
Multi line commentaries start with "
/*
" and end up with "
*/
".
/* a
multi line
commentary */
' a single line commentary
Identifier
Identifiers are the names of
or
·
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
·
Содержание 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: ......