Hello Fabricio,
we don't use this in global procs, but it may be works.
We prefer use it in include proc, and it's working well.
Of course, we have to recompile all components if there are notable
changes, or some components in case of minor change, but not release the
.dol file; that's our choice.
for example:
;include-proc mybib:myincludeproc
entry MULTIPLY
returns numeric
params
numeric PAR1: IN
numeric PAR2: IN
endparams
variables
numeric MultiplyResult
endvariables
MultiplyResult = PAR1 * PAR2
return MultiplyResult
end MULTIPLY
;Local proc module of mycomponent
#include mybib:myincludeproc
entry dosomething
variables
numeric theResult
endvariables
theResult = MULTIPLY(3, 4); maybe twelve ?
end dosomething
Hope it's helping you,
Philippe.