I have a code:
for i:=0 to High(a) do
begin
{ I want to write 0 and 1 represent for true and false }
writeln(i % 2 = 0);
end;
But the line with "writeln" occurs error
Syntax error, ")" expected but "ordinal const" found
anyone can help me? :(
Thanks :D