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

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

Postby ShumingWang » Fri May 09, 2008 8:45 am

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
ShumingWang
 
Posts: 465
Joined: Sun Oct 30, 2005 6:37 am
Location: Guangzhou(Canton),China

Postby Antonio Linares » Sun May 11, 2008 11:40 pm

Summing,

Try with FWH Class TTxtFile
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42080
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby ShumingWang » Mon May 12, 2008 1:00 am

Antonio,
Thank you !
Shuming Wang
ShumingWang
 
Posts: 465
Joined: Sun Oct 30, 2005 6:37 am
Location: Guangzhou(Canton),China


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 92 guests