pipasmeimoa Posted June 15, 2009 at 06:30 PM Report #272470 Posted June 15, 2009 at 06:30 PM procedure Apagar; var k:char; n:integer; begin if not ExisteFicheiro then begin writeln('Ficheiro inesistente'); write('Tecle ENTER para menu'); end else begin reset(fich1); writeln(' Efectuar reset? s/n'); readln(n); readln; writeln(''); seek(fich1,n-1); writeln(' Deseja mesmo fazer reset? : '); writeln(' |--------------------------|'); writeln(' | [n] ou [n] |'); writeln(' |--------------------------|'); repeat readln(k) until K in ['S','s' , 'N','n']; writeln; if K = 'S' then begin seek(fich1,filepos(fich1)-1); write(fich1,client); end; close(fich1); end; end; Alguem me pode dizer poque é k este procedur ta a dar erro?? E urgente a vossas ajuda é pa um trabalho de fim de modulo para apresentar amanha.. help me.. 🙂
M6 Posted June 15, 2009 at 08:54 PM Report #272555 Posted June 15, 2009 at 08:54 PM E qual é o erro que te dá? 10 REM Generation 48K! 20 INPUT "URL:", A$ 30 IF A$(1 TO 4) = "HTTP" THEN PRINT "400 Bad Request": GOTO 50 40 PRINT "404 Not Found" 50 PRINT "./M6 @ Portugal a Programar."
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now