User`s manual
mikroBASIC
- Basic Compiler for Microchip PIC microcontrollers
14
mikroBASIC
MikroElektronika: Development tools - Books - Compilers
making it simple...
page
mikroBASIC
MikroElektronika: Development tools - Books - Compilers
Source files created in mikroBasic have the extension ppas. By default, main unit
file is named same as the project.
Location of the main unit source file and other project information are stored in
project file with extension ppp.
Main unit file is created simultaneously with the project and is named same as the
project, with extension ppas. You should not change the name of this file as
mikroBasic might not be able to compile it. Project file and main unit file must be
saved in the same folder.
Select File > New unit from drop-down menu, or press CTRL+N, or click the
New File icon.
A new tab will open, named "Untitled1". This is your new unit file. Select File >
Save As from drop-down menu to name it the way you want.
Keyword uses instructs compiler which unit beside main unit should be compiled.
Units other than main must be in same folder with project file or in folder speci-
fied by search path.
Search path can be configured by selecting menu choice Options > Settings from
drop-down menu and then tab window Advanced.
Select File > Open from drop-down menu, or press CTRL+O, or click the Open
File icon. The Select Input File dialog opens. In the dialog, browse to the location
of the file you want to open and select it. Click the Open button.
The selected file is displayed in its own tab. If the selected file is already open, its
current Editor tab will become active.
Managing Source Files
Creating Main Unit File
Creating a New Unit File
Opening an Existing File