Dear,

About first remark: indeed $prevline will contain actual information read. $line doesn't
have any data anymore.

About seond one: first read our second description of problems in your own script. It has
to deal with the usage of SPACE instead of "," character in SPLIT/InStr function.
Please change code of sealeopard to:
code:
$array=split($line,",")
$files=$array[0]
$bytes=Val($array[3])
$megabytes=$bytes/1048576
? " files "+$files
? " bytes "+$bytes
? " MBytes "+$megabytes

greetings.
_________________________
email scripting@wanadoo.nl homepage scripting@wanadoo.nl | Links | Summary of Site Site KiXforms FAQ kixtart.org library collection mirror MCA | FAQ & UDF help file UDF kixtart.org library collection mirror MCA | mirror USA | mirror europe UDF scriptlogic library collection UDFs | mirror MCA