Search found 8 matches: nmaxlinelength

Return to advanced search

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

... Mantissa(<nFloat>)->nMantissa Max(<xExp1>,<xExp2>)->xLarger MaxCol()->nColumn MaxLine(<cText>)->nMaxLineLength MaxRow()->nRow MCol()->nMouseCol MDblClk([<nNewInterval>])->nMilliSeconds MDY([<dDate>])->cDate MemoEdit(<cString>,[<nTop>],[<nLeft>],[<nBottom>],[<nRight>],[<lEditMode>],[<cUserFunction>],[<nLineLength>],[<nTabSize>],[<TextBufferRow>],[<nTextBufferColumn>],[<nWindowRow>],[<nWindowColumn>])->cTextBuffer ...
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: 5704

Re: Strange program behavior...

... CPU time? When you say "splitting the input file" did you mean splitting the output file into multiple segments? I do see these: #define NMAXLINELENGTH (4096 * 3) #define NSPLIT_LINES 25000 Perhaps it is doing what it is told? James
by James Bott
Thu Nov 05, 2009 4:02 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Strange program behavior...
Replies: 4
Views: 879

Strange program behavior...

... you. #define CFILENAME "TEST.CSV" #define CR CHR(13) #define LF CHR(10) #define LINEFEED CHR(13) + CHR(10) #define NCHARS 1 #define NMAXLINELENGTH (4096 * 3) #define NSPLIT_LINES 25000 #include "Common.ch" #include "FiveWin.ch" FUNCTION Main (cFile) #define nHandle ...
by HunterEC
Thu Nov 05, 2009 3:04 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Strange program behavior...
Replies: 4
Views: 879

... ) ) EndIf If ! ::lNoHScroll If ! Empty( ::cAlias ) .and. ::lIsTxt nTxtWid := Max( 1, GetTextWidth( 0, "B", hFont ) ) nMin := 1 nMax := ::oTxtFile:nMaxLineLength - Int( nMaxWidth / nTxtWid ) ::oHScroll := TSBScrlBar():WinNew( nMin, nMax,, .F., Self ) Else nMin := Min( 1, Len( ::aColumns ) ) nMax ...
by Natter
Mon Sep 08, 2008 11:34 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: bChange
Replies: 9
Views: 5460

Re: vale

... solo ocupo 4 lineas. Saludos, [quote="fleal"]Mario, Para extraer los datos del XML oText := TTxtFile():New( "ARCHIVO.XML" ) oText:nMaxLineLength := 500 nRen := oText:RecCount() + 1 Cada uno de las lineas tiene un identificador único... por ejemplo: <Contact_ContactPerson>VERONICA ...
by MarioDava
Mon Oct 01, 2007 2:12 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Leer datos especifico de un XML
Replies: 26
Views: 10386

vale

Mario, Para extraer los datos del XML oText := TTxtFile():New( "ARCHIVO.XML" ) oText:nMaxLineLength := 500 nRen := oText:RecCount() + 1 Cada uno de las lineas tiene un identificador único... por ejemplo: <Contact_ContactPerson>VERONICA MARTINEZ ALMENDAREZ</Contact_ContactPerson> ...
by fleal
Sat Sep 29, 2007 2:14 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Leer datos especifico de un XML
Replies: 26
Views: 10386

ttxtfile():new() return nil if error opening file.

... gives an error with xHarbour builder // I changed this to RETU self // and now to check for open error // I check oFile:hFile for < 0 ENDIF ::nMaxLineLength := 1024 ::nLine := 1 ::nTLines := ::Count( CRLF ) ::nOffset := 0 ::ReadLine() RETURN Self
by Gale FORd
Thu May 11, 2006 1:59 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: ttxtfile():new() return nil if error opening file.
Replies: 1
Views: 700

Solucionado con TTxtFile

Al final lo he solucionado con la clase TTxtFile sólo para ciertos oIni con entradas muy grandes, utilizo:

LOCAL oIni := TTxtFile():New(::oIni:cIniFile)
oIni:nMaxLineLength := 3000
cState := oIni:GetValue( ::cSection, "Estado", "" )
oIni:End()

Bueno, pues listo.
Un saludo
by jesus
Wed Oct 19, 2005 11:51 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Me falta parte de una entrada de un INI
Replies: 5
Views: 2220

Return to advanced search