hello dear MCA,
I tried your latest version too, it reported only the amount off bytes. Only thing is that I found the code making me dizzy.
I like the array code better, only it wouldn't work right. firts in debug mode I placed this in the loop.
code:
OPEN(1, $TempFile)
$Line = READLINE(1)
WHILE $line<>'' AND @ERROR=0
$prefline=$line
$line = READLINE(1)
? "line : "+$line
? "prefline : "+$prefline
LOOP
So I can see what $line & $prefline contain at runtime. This is not a list but everytime just one line, So my first question is: How the hell should one off these variables contain a list at the end of the loop, each variable is getting overwritten in the loop, ending with the last line in the tempfile. Second question is that this syntax is wrong -> $bytes=Val($array[3]). And why can't I catch the error message kix is generating.. Iam having a heartattack here..!!
P.S. Thanks for the help..
-rel
_________________________
This is Unix Country. On a quiet night you can hear NT reboot.