User manual

200
mikoBasic PRO for PIC32
MikroElektronika
program Volume
dim Volume as word
sub function First(dim a as word, dim b as word) as word forward
sub function Second(dim c as word) as word
dim tmp as word
tmp = First(2, 3)
result = tmp * c
end sub
sub function First(dim a, b as word) as word
result = a * b
end sub
main:
Volume = Second(4)
end.
Functions reentrancy
Functions reentrancy is allowed. Remember that the PIC32 have memory limitations that can vary between MCUs.