Okay, so here is my little problem, to describe it, I'll just show you what i would like the programm to do:
SCAR Code:
Programm Example;
var
x,y: Integer;
Label
DoItOver;
Procedure SettingEverythingUp;
begin
{bla bla bla bla bla}
end;
Procedure FirstProcedure;
begin
{bla bal bla bla bla}
Goto DoItOver;
{bla bla bla bla bla}
end;
Procedure SecondProcedure;
begin
{bla bal bla bla bla}
end;
Procedure ThirdProcedure;
begin
{bla bal bla bla bla}
end;
begin
SettingEverythingUp;
repeat
DoItOver:
FirstProcedure;
SecondProcedure;
ThirdProcedure;
Until Something;
end;
So, I want to have a goto a procedure, which gets put me in a certain point in the main loop, i would use this for situation like I just died and need to get to a certain point, and not have the script continue on.. Is the a function which can do that?
BTW: the example one up there is obviously wrong.
Thanks a lot