Mikroelektronika MIKROE-350 Fiche De Données

Page de 526
If Statement 
Select Case Statement 
Iteration Statements (Loops) 
For Statement 
While Statement 
Do Statement 
Jump Statements 
Break and Continue Statements 
Exit Statement 
Goto Statement 
Gosub Statement 
asm Statement 
Directives
Compiler Directives 
Linker Directives 
LEXICAL ELEMENTS OVERVIEW
These topics provide a formal definition of the mikroBasic PRO for AVR lexical ele-
ments. They describe different categories of word-like units (tokens) recognized by
the language.
In tokenizing phase of compilation, the source code file is parsed (that is, broken
down) into tokens and whitespace. The tokens in mikroBasic PRO are derived from
a series of operations performed on your programs by the compiler.
A mikroBasic PRO program starts as a sequence of ASCII characters representing
the source code, created by keystrokes using a suitable text editor (such as the
mikroBasic PRO Code Editor). The basic program unit in mikroBasic PRO is a file.
This usually corresponds to a named file located in RAM or on disk, having the
extension 
.mbas
.
111
MIKROELEKTRONIKA
- SOFTWARE AND HARDWARE SOLUTIONS FOR EMBEDDED WORLD
Language Reference
mikroBasic PRO for AVR
CHAPTER 5