Datasheet

' procedures declarations
sub procedure sub_procedure_name([dim byref] [const] ParamName as
[^]type, [dim byref] [const] ParamName2, ParamName3 as [^]type);
[ilevel 0x123] [overload] [forward]
<local declarations>
...
end sub
' functions declarations
sub function sub_function_name([dim byref] [const] ParamName as
[^]type, [dim byref] [const] ParamName2, ParamName3 as [^]type) as
[^]type [ilevel 0x123] [overload] [forward]
<local declarations>
...
end sub
end.
Note: Sub functions and sub procedures must have the same declarations in the
interface and implementation section. Otherwise, compiler will report an error.
122
MIKROELEKTRONIKA - SOFTWARE AND HARDWARE SOLUTIONS FOR EMBEDDED WORLD
Language Reference
mikroBasic PRO for AVR
CHAPTER 5