fork download
  1. program ideone;
  2. var x,y :word;
  3. begin
  4. if x>0 then
  5. read (y);
  6. if x>y then
  7. read xmod10 ;
  8. else
  9. read y mod10 ;
  10. x:=y
  11. end;
  12. end.
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
Free Pascal Compiler version 3.0.0+dfsg-10 [2016/12/12] for x86_64
Copyright (c) 1993-2015 by Florian Klaempfl and others
Target OS: Linux for x86-64
Compiling prog.pas
prog.pas(4,4) Warning: Variable "x" does not seem to be initialized
prog.pas(7,6) Fatal: Syntax error, ";" expected but "identifier XMOD10" found
Fatal: Compilation aborted
Error: /usr/bin/ppcx64 returned an error exitcode
stdout
Standard output is empty