Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Reading/Writing Files with 4GL

Status
Not open for further replies.

mja37

IS-IT--Management
Dec 14, 2004
10
0
0
US
I want to read-in a textfile (input) line by line, and if any line matches a value contained in a seperate textfile (reference) that line in the input is changed to the value that occurs 5 lines after it in the input.
 
Thanks man, that is exactly what I needed to read-in from the file.

Now all I need to do is figure out how to modify each line based on a conditional statement else skip/print what was read in.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top