Hi,
I try to create a for loop like this:
for i := 0 to ((i > 4) and ((c2 := ReadKey) <> #27))) do
and the error states Fatal: Syntax error, ")" expected but ":=" found. After a lot of searching about for-loop, compound conditions etc, I can't find if this for loop is possible in FPC. Can someone help me please?
Thanks