• Post Reply Bookmark Topic Watch Topic
  • New Topic

forming a loop reading each line of a file(v urgent)  RSS feed

 
rudolf hitler
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How do i read each line of a file and form a loop peformin some processing on each line till end of file is reached.I tried using readLine() but it doesnt work.I need help its urgent
 
Jim Yingst
Wanderer
Sheriff
Posts: 18671
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'd certainly use readLine(). What does your code look like?
 
jason adam
Chicken Farmer ()
Ranch Hand
Posts: 1932
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
dimps,
There aren't many rules around here, but we have one. Please change your display name to comply with The JavaRanch Naming Policy.
Thanks!
 
Jim Yingst
Wanderer
Sheriff
Posts: 18671
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"rudolf hitler"? Cute. How about something similar to "MD Roy"?
 
Michael Morris
Ranch Hand
Posts: 3451
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Doz ve heil or sing Christmas carols?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!