User`s manual

mikroBASIC
- Basic Compiler for Microchip PIC microcontrollers
Each project consists of a single project file, and one or more module files. To
build a project, the compiler needs either a source file or a compiled file for each
module.
Each module is stored in its own file and compiled separately; compiled modules
are linked to create an application.
Modules allow you to:
- Break large programs into parts that can be edited separately.
- Create libraries that can be used in different programs.
- Distribute libraries to other developers without disclosing the source code.
In mikroBasic programming, all source code including the main program is stored
in .pbas files.
If you perform circular unit references, compiler will give a warning. A simple
instance of circular unit references would be, for example, situation in which
Module1 uses Module2, but in the same time it is specified that Module2 uses
Module1.
Newly created blank unit contains the following :
module Module1
end.
MikroElektronika:
Development
tools
-
Books
-
Compilers
mikroBASIC
making it simple...
55
page
MODULES
Every project consist of single project file and
one or more module files
Project
file
Module
files