Can anyone gives me the program code?
For example
---------text file--------
1
2
3
4
4.5
6
7
--------------------------
II
v
---------text file---------
1
2
3
4
6
7
------------------------------
II
v
---------text file---------
1
2
3
4
5
6
7
-----------------------------
porgram test;
var
diskfile:text;
begin
assign(diskfile,'abc.txt');
..............
close(diskfile);
end;
I had only learn pascal.Please explain the program code in a easy way.
Answer in Chinese.
thank you
更新1:
for the first step,delete a record in text file directly for the second step,insert a record in text file directly