我是新来的,对不起,如果我做错了什么!
我在Lazarus做了一个简单的Pascal程序,编译时遇到这个错误:
HWE(16,18)错误:类型"Char"和"Constant String"不支持"或"操作
这是它抱怨的部分:
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);
Run Code Online (Sandbox Code Playgroud)
谢谢你的帮助!
pascal ×1