Сообщество IT-специалистов
Ответы на любые вопросы об IT
Профессиональное развитие в IT
Удаленная работа для IT-специалистов
function B(x: integer): integer; begin .. try .. except .. end; .. end; function A(x: integer): integer; begin {$I vm_start.inc} Result := B(x); {$I vm_end.inc} end;
Yes, that's correct to do. Notice that «B» should not be an inline function as that would be the same as putting a VM macro around a try-except statement which can produce executions problems.