fork download
  1. program ideone;
  2.  
  3. function GetInfo() :string;
  4.  
  5. var
  6. ID, PreferredName : String;
  7. Valid : boolean;
  8. begin
  9. Valid = False
  10. While Valid = False do
  11. writeln("Please enter a valid ID");
  12. readln(ID);
  13. if
  14.  
  15. begin
  16. (* your code goes here *)
  17. end.
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.pas:3: warning: missing string capacity -- assuming 255
prog.pas: In function `GetInfo':
prog.pas:6: warning: missing string capacity -- assuming 255
prog.pas:9: error: using `=' instead of `:=' in assignment
prog.pas:10: error: syntax error before `While'
stdout
Standard output is empty