File not open for output(pascal)
Solved/Closed
Anonymous User
-
Jun 15, 2008 at 03:34 AM
KX Posts 16752 Registration date Friday May 30, 2008 Status Moderator Last seen August 31, 2024 - Jun 19, 2008 at 08:42 AM
KX Posts 16752 Registration date Friday May 30, 2008 Status Moderator Last seen August 31, 2024 - Jun 19, 2008 at 08:42 AM
Related:
- File not open for output(pascal)
- Windows 10 iso file download 64-bit - Download - Windows
- Turbo pascal download - Download - IDE
- Kmspico zip file download - Download - Other
- Could not create output file delphi - Guide
- Ping output to text file - Guide
1 response
KX
Posts
16752
Registration date
Friday May 30, 2008
Status
Moderator
Last seen
August 31, 2024
5
Jun 19, 2008 at 08:42 AM
Jun 19, 2008 at 08:42 AM
Try that :
program ler_fich; var d:string[7]; q:integer; p,vt:real; fe,fs:text; begin assign(fe,'C:\...\artigo.txt'); reset(fe); assign (fs,'C:\...\resultados.res'); rewrite(fs); while not eof (fe) do begin readln(fe,d,q,p); vt:=q*p; writeln(fs,d,q,vt); end; close(fs); close(fe); readln; end.