that is so you can make the procedure later on in the script without it complaining that the procedure deosnt exist
so if you have three procedures and one is inside the other then you can use a forward to stop any errors
~shut
EDIT: if you run this then it will comeup with an error saying that number3 is an unknow indentifier
thats because the procedure is after the one it is included in
SCAR Code:
program New;
procedure number1;
begin
number3;
end;
procedure number2;
begin
number1;
end;
procedure number3;
begin
number2;
end;
begin
number1;
end.
but if we add a forward to it then it will get rid of the error becuse it is baisically putting it where it is and above the first one
SCAR Code:
program New;
procedure number3; forward;
procedure number1;
begin
number3;
end;
procedure number2;
begin
number1;
end;
procedure number3;
begin
number2;
end;
begin
number1;
end.
that would get rid of that error