Read and write a line from 2 files?
I would like to read a line from one file and write that line in another file. Can anyone please guide me about this one?
Appreciated if some code is written
Re: Read and write a line from 2 files?
You can use the ReadLine() and WriteLine() functions. An example is show below. Both return a 1 if sucessful.
ret = ReadLine ("file1.txt", string)
ret = WriteLine ("file2.txt", string)