Hey,
I am new to scripting with SCAR, I have read some tutorials..... And I didn't understand a thing.
Finally I found a great tutorial on how to use it. Just as I started to understand a couple of things I got an error.
Line 15: [Error] (15:1): Identifier expected in script !
So, because I have no idea of what I have done wrong I must ask for your help. Its a short simple code so it shouldn't take you more than a minute to tell me what is wrong.
Here it is:
SCAR Code:
Program Test;
Var
i : integer;
Procedure First; // Determines I
begin
i := 0
end;
Procedure Second; // Checks the value of I
begin
if (i = 0) then
Writeln ('I equals 0');
else
Writeln ('I doesn''t equal 0');
end;
Begin
First;
Second;
End.
Some help would be greatly appreciated.
Thanks.
Fort Ash