Hi, its me (again) I'm sorry for wasteing your time (again)...
I made a little test script (without any utility at all, except if you love writelns...
But I get this error while trying to run it...
SCAR Code:Failed when compiling
Line 12: [Error] (12:13): Type mismatch in script
Well i looked at JAD's tut on common errors and it wasn't there :S.
I looked at a tutorial (in beginner section) on if-then,while-do,for cases.
This script was only to test IsFKeyDown and While Do
Here it is :
SCAR Code:program New;
procedure lol;
begin
Writeln('Wait...');
Wait(1000);
end;
procedure LolEnd;
begin
Wait(100);
While (lol) do //line 12
begin
If IsFKeyDown(2) then
begin
Writeln('ending... ');
Wait(1000);
TerminateScript;
end;
end;
end;
begin
repeat
lol
LolEnd;
until(false);
end.
Any help please ?![]()




Reply With Quote


