私の問題は次のように見えます.2つのプロシージャがあり、それらは互いに呼び出しますが、これによりオーバーフローが発生する可能性があります. プロシージャにジャンプする方法 - asm jmp が呼び出されないように? 2 つの異なるプロシージャ間で GoTo を使用できないため、ラベルを使用したくありません。そして、プロシージャーの呼び出しに続くコードを実行したくありません。ところで、私はFPCを使用しています。
unit sample;
interface
procedure procone;
procedure proctwo;
implementation
procedure procone;
begin
writeln('Something');
proctwo;
writeln('After proctwo'); //don't execute this!
end;
procedure proctwo;
begin
writeln('Something else');
procone;
writeln('After one still in two'); //don't execute this either
end;
end.