|
|
|||||||
Hey Guys, I am pretty new to Kix, here`s my problem. I have a text file within which is a list of computer names on the network which i piped from net view, what i want to do with this is have ReadLine read each line one after another in some sort of loop so that it returns each line of text one after another from the textfile in order, just can`t seem to get my head round this one i`m afraid... doh any help is greatly appreciated ta! |
||||||||
|
|
|||||||
see these manual links: open() readline() and once you get there (they are the same as in kixtart-manual) read them. there is simple already made script just for what you are asking.   |
||||||||
|
|
|||||||
The example in the manual does exactly what you are asking for: code:Or have I misunderstood your query?IF Open(3, @LDRIVE + "\CONFIG\SETTINGS.INI") = 0 |
||||||||
|
|
|||||||
It's in the manual: code:Oops, too lateIf Open(1,$file)=0 [ 26. September 2002, 11:43: Message edited by: Schuliebug ] |
||||||||
|
|
|||||||
  me fastest!   |
||||||||
|
|
|||||||
Lonkero's the greatest |
||||||||
|
|
|||||||
Hehe doh guess i`m just havin a bad day huh looked at that chm page like 20 times... simple case of RTFM ... oh well cheers for your help neways guyz ... N00NchieS = Oficially blind |
||||||||
|
|
|||||||
N00NchieS, Don't worry. If you posted it in one of the other forums you might have got stomped on, but we're more gentle in Starters. The first time, anyway PS, Welcome to the board. PPS, "N00NchieS" - crazy monicker! |
||||||||
|
|
|||||||
Cheers, I knew i had prob done somethin stupid so thas y i posted it in the starters forum.. as i say today i feel like a bit of a badger... expect less silliness in future ...END OF LINE... |