I'm new here, so sorry if I did something wrong!
I am making a simple Pascal program in Lazarus and I get this error when compiling:
HWE (16,18) Error: operation "or" is not supported for types "Char" and "Constant String"
Here is part of the complaint:
Repeat
begin
Readln(style);
If style <> ('e' or 'mp' or 'sa') then
Writeln ('do what I say!')
end
Until style = (e or mp or sa);
Thanks for any help!
source
share