You could load the entire file into memory and then process it line by line or you can do it like shown below. It all depends on where the file is located, how big it is, your personal preferences, etc...

 Code:
Break on

$rc = Open(1, "c:\Somefile.txt", 2)
$line = ReadLine(1)

While Not @ERROR And $line <> ""
		
	;do stuff here
	
	$line = ReadLine(1)
Loop

Close(1)
_________________________
Mart

- Chuck Norris once sold ebay to ebay on ebay.