fork download
  1. Program Pzim ;
  2. const pi=3.14;
  3. var x, gra:real;
  4.  
  5. Function rad(grad:real):real;
  6. Begin
  7. rad:=grad*pi;
  8. end;
  9.  
  10. Begin
  11. writeln('Introduza os graus que quer converter em radianos);
  12. read(gra);
  13. x:=rad(gra);
  14. writeln(x);
  15. End.
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
Free Pascal Compiler version 2.2.0 [2009/11/16] for i386
Copyright (c) 1993-2007 by Florian Klaempfl
Target OS: Linux for i386
Compiling prog.pas
prog.pas(11,11) Fatal: String exceeds line
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