Page 1 of 1

Somone could use hb_fuse()hb_feof() from contrib\libmisc.lib

Posted: Fri May 09, 2008 8:45 am
by ShumingWang
Hi,
I found , harbour\contrib\libmisc.lib hb_feof() always return .t.
28.txt file as :
line1 239845 2006-12-28 06:19:06 03 0
line2 659532 2006-12-28 06:21:08 03 0
line3 928440 2006-12-28 07:24:28 03 0
line4 938007 2006-12-28 07:24:28 03 0

hfile:=hb_Fuse("a28.txt")
?hb_feof()
// .t.

?hb_freadln()
//line1 239845 2006-12-28 06:19:06 03 0

hb_fskip(1)
?hb_freadln()
//line2 659532 2006-12-28 06:21:08 03 0

Best regards!

Shuming Wang

Posted: Sun May 11, 2008 11:40 pm
by Antonio Linares
Summing,

Try with FWH Class TTxtFile

Posted: Mon May 12, 2008 1:00 am
by ShumingWang
Antonio,
Thank you !
Shuming Wang