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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

HELP ME !!!!!!! PLEASEEEEE

Status
Not open for further replies.

codenovice

IS-IT--Management
Dec 4, 2001
11
0
0
US
Hello!!!!
I would like to read 8 lines from a text file that has 8 lines. I would later split the lines into corresponding values.

Kindly provide me with the code.

Thanks
 
You will need to use a For loop to read in every line.

If each line has individual values that you need to read in, you will have to use a nested For loop.

Hope this helps.
 
...I would like to read 8 lines from a text file that has 8 lines

So, you basically want to read the entire file (?) and split the different lines into their constituant values based on an unknown delimiter(?)

Snaggs and rvBasic solve a smilar problem in thread222-51020. I encourage you to have a look at it and to adapt the proposed code to your specific needs.

_________________________________
In theory, there is no difference between theory and practice. In practice, there is. [attributed to Yogi Berra]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top