error:incompatible types:got "bollean" expected "longint"
来源:学生作业帮助网 编辑:作业帮 时间:2024/07/14 09:33:48
![error:incompatible types:got](/uploads/image/z/14810354-26-4.jpg?t=error%3Aincompatible+types%3Agot+%22bollean%22+expected+%22longint%22)
xN@_e8"Ɲ/#tmk& Fk"``/][`ۗ'6J)dDQ!A/X` >:`1+en{W\[lcK'*d\gJK#q\Jpΐ<R%x.a N< xaf\/40(u2HUBǯf<ӛ'QYo>җ3sygޒ3e^;({ʶ(>_}<
error:incompatible types:got "bollean" expected "longint"
error:incompatible types:got "bollean" expected "longint"
error:incompatible types:got "bollean" expected "longint"
if k1 and k2 then
begin
writeln('Error');
writeln('Thank you,Press Enter to Exit the Program');
readln;
halt;
end;
这句的判断错了,最后的小错误不应该啊
if 语句两个或以上的判断条件要打括号的
if (k1)and (k2) then begin