fork download
  1. program ideone;
  2.  
  3. var
  4. X, Y: Integer;
  5. Result1, Result2, Result3, Result4, Result5, Result6, Result7: Boolean;
  6.  
  7. begin
  8.  
  9. Result1:= X >= 0;
  10. Result2:= Result1 and Y;
  11. Result3:= Result2 >= 0;
  12. Result4:= Result3 and X;
  13. Result5:= Result4 < 8;
  14. Result6:= Result5 and Y;
  15. Result7:= Result6 < 8;
  16.  
  17. writeln(Result7);
  18. end.
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.pas(10,12) Error: Incompatible types: got "Boolean" expected "LongInt"
prog.pas(11,12) Error: Incompatible types: got "Boolean" expected "LongInt"
prog.pas(12,12) Error: Incompatible types: got "Boolean" expected "LongInt"
prog.pas(13,12) Error: Incompatible types: got "Boolean" expected "LongInt"
prog.pas(14,12) Error: Incompatible types: got "Boolean" expected "LongInt"
prog.pas(15,12) Error: Incompatible types: got "Boolean" expected "LongInt"
prog.pas(18,4) Fatal: There were 6 errors compiling module, stopping
Fatal: Compilation aborted
Error: /usr/bin/ppc386 returned an error exitcode (normal if you did not specify a source file to be compiled)
stdout
Standard output is empty