program spanzuratoarea;Var u,v:array[1..25] of char; lit:char;C,n,p,i:integer;OK: boolean;BeginP:=0;Write ('introduceti cuvantul: ');While not eoln do begin P:=p+1;Read(p);End;N:=p;For p:=1to n do write v[i];Readln;End.
Standard input is empty
prog.pas: In main program: prog.pas:14: warning: missing white space after decimal integer constant prog.pas:14: warning: `Write' without values to write -- ignored prog.pas:14: error: syntax error before `v'
Standard output is empty
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!