Mikroelektronika MIKROE-350 Data Sheet

Page of 526
Implementation Section
Implementation section hides all the irrelevant innards from other modules, allowing
encapsulation of code.
Everything declared below the keyword 
implements
is private, i.e. has its scope lim-
ited to the file. When you declare an identifier in the implementation section of a
module, you cannot use it outside the module, but you can use it in any block or rou-
tine defined within the module.
By placing the prototype in the interface section of the module (above the 
imple-
ments
) you can make the routine public, i.e. visible outside of module. Prototypes
must exactly match the declarations.
126
MIKROELEKTRONIKA
- SOFTWARE AND HARDWARE SOLUTIONS FOR EMBEDDED WORLD
Language Reference
mikroBasic PRO for AVR
CHAPTER 5