3Garrett3
2014-09-12 12:57:06
Hi folks.
Apparently I'm old and don't know the new changes with Lape, but say I have the code:
Unless I've horribly forgotten what used to work, this should compile. Now I'm getting "Error: Found unexpected token "else", expected "End" at line X"
What am I doing wrong here? Using RC3 and associated SRL file (from Olly's .zip).
Apparently I'm old and don't know the new changes with Lape, but say I have the code:
function Win() : Boolean;
begin
Result := True;
if Result then
Writeln('win');
else
Writeln('not win');
end;
Unless I've horribly forgotten what used to work, this should compile. Now I'm getting "Error: Found unexpected token "else", expected "End" at line X"
What am I doing wrong here? Using RC3 and associated SRL file (from Olly's .zip).