Lexical Elements Overview

The following topics provide a formal definition of the mikroBasic PRO for AVR lexical elements. They describe different categories of word-like units (tokens) recognized by the language.

In the tokenizing phase of compilation, the source code file is parsed (i.e. broken down) into tokens and whitespace. The tokens in mikroBasic PRO for AVR are derived from a series of operations performed on your programs by the compiler.

A mikroBasic PRO for AVR 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 for AVR Code Editor). The basic program unit in mikroBasic PRO for AVR is a file. This usually corresponds to a named file located in RAM or on disk, having the extension .mbas.

Copyright (c) 2002-2012 mikroElektronika. All rights reserved.
What do you think about this topic ? Send us feedback!
Want more examples and libraries? 
Find them on LibStock - A place for the code