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

Post Reply
ShumingWang
Posts: 454
Joined: Sun Oct 30, 2005 6:37 am
Location: Guangzhou(Canton),China

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

Post 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
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post by Antonio Linares »

Summing,

Try with FWH Class TTxtFile
regards, saludos

Antonio Linares
www.fivetechsoft.com
ShumingWang
Posts: 454
Joined: Sun Oct 30, 2005 6:37 am
Location: Guangzhou(Canton),China

Post by ShumingWang »

Antonio,
Thank you !
Shuming Wang
Post Reply