Hi. I am making a scar program that DOES include SRL. It always comes up at the end with, "Identifier Expected". Can anyone help? I am still open to answers because the other people's input didn't work.
SCAR Code:
program NextAutoClicker;
{.include SRL/SRL.scar}
var
x: integer;
procedure TypeSendNow;
begin
repeat
x:=2;
if (x=2) then
begin
TypeSend('cyan: are you okay?'+chr(13));
Wait(4000);
if (x=3) then
begin
TypeSend('blue: good day world'+chr(13));
Wait(4000);
if (x=5) then
begin
TypeSend('purple: hi world'+chr(13));
Wait(4000);
end else
TypeSend('hi'+chr(13));
wait(4000);
end;
begin
SetUpSRL;
repeat
TypeSendNow;
until(false);
end;
end.
Thanks,
Camdo Clark