If, line 5 of file test.txt = "color"..do...else do ...
View Single Post
11-18-2008, 11:39 AM
Join Date: Dec 2007
Location: Bucharest, Romania
well, normally, you would read a file line by line. You can use a counter to determine the current line you're on, and test that line against the string "colored" to see if it is present or not.
I have optimistic thoughts, even though sometimes (if not always) life's a bitch.
View Public Profile
Send a private message to xenon
Visit xenon's homepage!
Find More Posts by xenon