ProgressingPilgrims
Programmer
Is there a way I can get goto mylabel to work inside the below WITH DO block? After the begin I get the red squiggley line under both mylabel references as it is. If I change the colon to a semi-colon the red squiggley disappears from the second reference to mylable; All the code in this procedure is conveniently within this begin with NTO, coreVars DO section. Hope I can find a way to goto labels within it with much rearrangement.
procedure TTM_MtnSide.calc;
label
mylabel;
begin with NTO, coreVars do
begin
goto mylabel;
//bunch of code lines I want to skip
mylabel:
//more code lines
end
end;
procedure TTM_MtnSide.calc;
label
mylabel;
begin with NTO, coreVars do
begin
goto mylabel;
//bunch of code lines I want to skip
mylabel:
//more code lines
end
end;