Search found 37 matches: readline

Return to advanced search

Re: Search by format

https://forums.fivetechsupport.com/viewtopic.php?f=6&t=28002&p=246040&hilit=readline&sid=3318f7707716d9abdc94aeb8583e2195&sid=bf1b0534a0dd4f61eadde738588685b2#p246040 https://forums.fivetechsupport.com/viewtopic.php?f=3&t=36763&p=219288&hilit=readline&sid=3318f7707716d9abdc94aeb8583e2195&sid=bf1b0534a0dd4f61eadde738588685b2#p219288 ...
by karinha
Wed Aug 02, 2023 4:17 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Search by format
Replies: 7
Views: 431

Re: read a big xml file

kajot wrote:How can I use
oText:ReadLine()

with
TXmlDocument():New( )

KAJOT

what do you need to use that for?
by cnavarro
Sun Jun 25, 2023 6:14 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: read a big xml file
Replies: 11
Views: 701

Re: read a big xml file

How can I use
oText:ReadLine()

with
TXmlDocument():New( )

KAJOT
by kajot
Sun Jun 25, 2023 5:25 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: read a big xml file
Replies: 11
Views: 701

Peticion POST a xHarbour

... rd = new BufferedReader(new InputStreamReader(is,"UTF-8")); String line; StringBuffer responsee = new StringBuffer(); while((line = rd.readLine()) != null) { responsee.append(line); responsee.append('\r'); } rd.close(); String respuesta = responsee.toString(); //----------------------------------------------------------------- ...
by servicomver
Mon Jun 05, 2023 11:15 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Peticion POST a xHarbour
Replies: 3
Views: 404

Re: FWH64 y Memoread()

... LOCAL oFile,cLinea,cMemo:="" DEFAULT cFile:="DATAPRO.INI" oFile:= TTxtFile():New(cFile, 0) WHILE !oFile:Eof() cLinea:=oFile:ReadLine() cMemo :=cMemo+IF(Empty(cMemo),"",CRLF)+cLinea oFile:Skip() ENDDO oFile:Close() RETURN cMemo
by jnavas
Sun Nov 21, 2021 1:34 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: FWH64 y Memoread()
Replies: 6
Views: 783

Re: How Create an Array from .CSV file ?

local cCSVFile := "purcbill.csv"
local cCsv

oFile := TTxtFile():New( cCSVFile )
oFile:GoTop()
Do while !oFile:Eof()
cCsv := cCsv + oFile:ReadLine()
oFile:Skip()
Enddo


Instead of the above six lines of code,
Code: Select all  Expand view

cCsv := MEMOREAD( cCsvFile )
 
by nageswaragunupudi
Thu Aug 08, 2019 6:44 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: How Create an Array from .CSV file ?
Replies: 8
Views: 1405

Re: TXT Unix To Dos

How ?

oFile := TTxtFile():New( cFileName ) << File is Unix Code or UTF-8 not BOM

Do While !oFile:Eof()
cLine := oFile:ReadLine() // << here is the problem
? cLine
oFile:Skip()
Enddo
by miragerr
Sat Feb 16, 2019 12:25 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: TXT Unix To Dos
Replies: 4
Views: 789

Re: Faster way then append from SDF

... oTxt:=TTxtFile():New("yourtxtfile.txt") wnbl:=oTxt:recCount() && number of line if wnbl>0 for wbcl = 1 to wnbl aadd(vtxt,oTxt:ReadLine()) oTxt:skip() next endif oTxt:end() * Try it . Philippe from Belgium
by Marc Vanzegbroeck
Fri Feb 15, 2019 5:45 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Faster way then append from SDF
Replies: 11
Views: 2168

Re: Faster way then append from SDF

... oTxt:=TTxtFile():New("yourtxtfile.txt") wnbl:=oTxt:recCount() && number of line if wnbl>0 for wbcl = 1 to wnbl aadd(vtxt,oTxt:ReadLine()) oTxt:skip() next endif oTxt:end() * Try it . Philippe from Belgium
by Jack
Fri Feb 15, 2019 4:45 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Faster way then append from SDF
Replies: 11
Views: 2168

Re: funciones de FWH y Harbour en un archivo .txt

__clsVerify(<nClassH>)-><acBrokenMessages>|Nil __objAddData(<oObject>,<cDataName>)->oObject __objAddInline(<oObject>,<cInlineName>,<bInline>)->oObject __objAddMethod(<oObject>,<cMethodName>,<nFuncPtr>)->oObject __objDelInline(&l...
by carlos vargas
Sat Oct 21, 2017 8:44 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: funciones de FWH y Harbour en un archivo .txt
Replies: 7
Views: 5627

Re: funciones de FWH y Harbour en un archivo .txt

__clsVerify __objAddData __objAddInline __objAddMethod __objDelInline __objDelMethod __objDelMethod __objDerivedFrom __objGetMethodList __objGetValueList __objModInline __objModMethod __objSetValueList __Pack __Run __Zap AAdd Abs AChoice AClone ACopy ACos AddASCII AddMonth ADel ADir ADSBlob2File ADS...
by carlos vargas
Sat Oct 21, 2017 8:43 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: funciones de FWH y Harbour en un archivo .txt
Replies: 7
Views: 5627

program buffer or a keyboard buffer

... a program buffer or a keyboard buffer? It depends on the platform, but for example on a .NET console app running on Windows, if you call Console.ReadLine() while the app has focus it is going to receive the keyboard input and store it in an application level buffer. The only time it would stay ...
by Otto
Thu Feb 05, 2015 3:20 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: program buffer or a keyboard buffer
Replies: 10
Views: 2542

program buffer or a keyboard buffer

... a program buffer or a keyboard buffer? It depends on the platform, but for example on a .NET console app running on Windows, if you call Console.ReadLine() while the app has focus it is going to receive the keyboard input and store it in an application level buffer. The only time it would stay ...
by Otto
Thu Feb 05, 2015 3:18 pm
 
Forum: EasyReport, EasyDialog and EasyPreview
Topic: program buffer or a keyboard buffer
Replies: 1
Views: 1500

Re: xHarbour 1.2.3 build 20141106

... lLen -> HB_ISIZ lLen * source/rtl/right.c ! LONG -> HB_ISIZ ! changed to use itemapi insted of direct structure manipulation * source/rtl/readline.c ! changed to use itemapi insted of direct structure manipulation ! removed unnecessary last to (LONG) in call to hb_fsseek ! int -> HB_SIZE ...
by Enrico Maria Giordano
Thu Dec 04, 2014 5:09 pm
 
Forum: WhatsNew / Novedades
Topic: xHarbour 1.2.3 build 20141106
Replies: 16
Views: 5791

Re: Unknown informations in log-file ( missing error-line ) ?

... MsgInfo( MemoRead( "Test.txt" ) ) oText:New( "c:\autoexec.bat" ) MsgInfo( oText:RecCount() ) for n = 1 to 5 MsgInfo( oText:ReadLine() ) oText:Skip() next oText:Close() return nil http://www.pflegeplus.com/pictures/logerror1.jpg http://www.pflegeplus.com/pictures/logerror2.jpg ...
by ukoenig
Wed Jun 19, 2013 6:44 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Unknown informations in log-file ( missing error-line ) ?
Replies: 6
Views: 2285
Next

Return to advanced search