ok, so I ended up with:
[clear, read myfile.txt, end, skip -1, where, rewind(
works :)
thanks,
Tim

2010/10/14 IOhannes m zmoelnig <zmoelnig@iem.at>
On 2010-10-14 15:43, tim vets wrote:
> Hi all,
> Is there a way to get msgfile to report the number of lines the loaded file
> contains (without using 'flush' and a counter) ?

you can get the current position with [where(
(after loading you will be at the beyond the last position, so you get a
bang; but you can nvaigate to the last line with [skip -1((

fgmasdr
IOhannes