SRL Archive - OSR Help

Help Please Identifier Expected


Kroniickill

2013-03-21 15:13:18

This is part im having problems with….


procedure P07_SetRun(Run: Boolean);
Begin
var x, y: integer;
begin
if not P07_TabInventoryTab(12) then
begin
writeln('ERROR: Could not P07_TabInventoryTab(12) -> Error in P07 include or random! Exiting');
Exit;
end;
if (FindColor(x, y, 4342852, 627, 416, 658, 444)) then
begin
writeln('-> Run = on!');

Keeps saying identifier expected on this line
var x, y: integer;

Help pleaseeee

rj

2013-03-21 15:15:38

your question was another on your other thread..

Sjoe

2013-03-21 15:16:15

remove begin before the var x,y :integer;