Mikroelektronika MIKROE-350 Fiche De Données

Page de 526
SetFuncCall
100
MIKROELEKTRONIKA
- SOFTWARE AND HARDWARE SOLUTIONS FOR EMBEDDED WORLD
Specifics
mikroBasic PRO for AVR
CHAPTER 3
Prototype
sub procedure SetFuncCall(FuncName as string)
Returns
Nothing.
Description
Function informs the linker about a specific routine being called. SetFuncCall
has to be called in a routine which accesses another routine via a pointer.
Function prepares the caller tree, and informs linker about the procedure usage,
making it possible to link the called routine. 
Requires
Nothing.
Example
sub procedure first(p, q as byte)
...
SetFuncCall(second) ' let linker know that we will call the
routine 'second'
...
end sub