Search found 133 matches: memoline

Return to advanced search

Re: Ayuda DLL

Antonio buenas noches, ahora son estos: Proyecto: Kept5, Entorno: BorlandDLL: [1]:Harbour.Exe Source\Tseguro.prg /m /n /es2 /ki /iP:\32bits\xharbour\include;P:\32bits\FWH\INCLUDE /i /oObj\Tseguro.c xHarbour Compiler build 1.2.1 (SimpLex) (Rev. 6406) Copyright 1999-2009, http://www.xharbour.org http:...
by ricardog
Fri Sep 01, 2017 2:16 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Ayuda DLL
Replies: 24
Views: 6427

Re: Ayuda DLL

Antonio, aquí la segunda parte: Error: Unresolved external '_HB_FUN_DRAWTHEMED' referenced from P:\32BITS\FWH\LIB\FIVEHX.LIB|DIALOG Error: Unresolved external '_HB_FUN_GETDLGBASEUNITS' referenced from P:\32BITS\FWH\LIB\FIVEHX.LIB|DIALOG Error: Unresolved external '_HB_FUN_CDLG2CHR' referenced from P...
by ricardog
Thu Aug 31, 2017 2:56 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Ayuda DLL
Replies: 24
Views: 6427

Text File (SOLVED)

... individual lines. This is what I am looking to get via code. Does anyone know how I can do this conversion? I want to be able to grab data via MemoLine() to get to the data I need. Here is a sample of the text file (.asc) if anyone needs to see what I'm tallking about; http://www.can-soft.net/dlnew/test.asc
by Jeff Barnes
Tue May 30, 2017 11:57 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Text File (SOLVED)
Replies: 3
Views: 533

apertura archivo txt

... linea que sigue es: {"ok":true,"folio":"125"} de aca deseo capturar el nro, para lo cual deseo usar substr() o usar memoline()... disculpen, pero ando algo oxidado en esto. Atte.,
by kpidata2016
Wed Aug 24, 2016 3:20 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: apertura archivo txt
Replies: 4
Views: 675

A problem < oPRINT:cmSay( ..> with MULTILINE get ?

Hello, I want to print a MULTILE get and use oPRINT:cmSay(nRow1,12.2, MEMOLINE(aDatP[20]), oFont1,,CLR_BLACK,,PAD_LEFT ) also tested : n := 1WHILE n < 8     oPRINT:cmSay( nZeile1, 12.2, MEMOLINE(aDatP[20]), oFont1,,CLR_BLACK,,PAD_LEFT ...
by ukoenig
Sun Apr 03, 2016 10:05 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: A problem < oPRINT:cmSay( ..> with MULTILINE get ?
Replies: 5
Views: 1472

Re: Fivewin debugger (end of line problem)

Pieter,

The FWH debugger is using MemoLine() to extract the source code lines.

I wonder if we can use a flag with MemoLine() to read lines separated with \n only:

In line 845:

aData[ nI ][ 3 ] := Rtrim( MemoLine( ::cSource, 254, nI ) )
by Antonio Linares
Tue Sep 22, 2015 7:58 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Fivewin debugger (end of line problem)
Replies: 4
Views: 701

Re: Problem with a Memo record

Make sure you convert soft CR to hard CR+LF or use memoline() plus CRLF to extract each line into cText you send to email body.
by Gale FORd
Thu May 28, 2015 4:48 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Problem with a Memo record
Replies: 6
Views: 1213

Re: Alternative to memoline()

Thank you both of you :D
by hua
Tue Apr 28, 2015 4:33 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Alternative to memoline()
Replies: 5
Views: 881

Re: Alternative to memoline()

TTxtFile is good.

Another alternative is :

cText := MemoRead( "myfile.txt" )
aLines := HB_ATokens( StrTran( cText, CRLF, Chr( 10 ) ), Chr( 10 ) )
by nageswaragunupudi
Tue Apr 28, 2015 4:00 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Alternative to memoline()
Replies: 5
Views: 881

Re: Alternative to memoline()

if you look at ttxtfile it works very nice. very easy to open file. skip through file and read each line/record.
by Gale FORd
Tue Apr 28, 2015 3:36 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Alternative to memoline()
Replies: 5
Views: 881

Re: Alternative to memoline()

Thanks Gale!

I was hoping for an alternative to memoline() so that don't have to resort to low level file manipulation. I am under the impression reading the whole file using memoread() and then extracting the lines from it would be faster
by hua
Tue Apr 28, 2015 1:39 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Alternative to memoline()
Replies: 5
Views: 881

Re: Alternative to memoline()

Check out ttxtfile class.
Example in samples folder testfile.prg
by Gale FORd
Mon Apr 27, 2015 1:43 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Alternative to memoline()
Replies: 5
Views: 881

Alternative to memoline()

I need to parse a tab-delimited text file so I use the usual memoread() and memoline().

But I just realized memoline() convert tabs into spaces. Is there any alternative to it?

TIA
by hua
Mon Apr 27, 2015 6:54 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Alternative to memoline()
Replies: 5
Views: 881

create an arra from txt file

... Space(81) } I made this but it make error cFile:="level1.txt" ctext:= Memoread(cFile) nLinea :=MLCOUNT(cTexto) for n=1 to nLinea cLinea:=MEMOLINE(cTexto,81,n) AADD(atest,ALLTRIM(cLinea)) next the error It make error because it count me 1998 lines but the sum of lines are 999 then add ...
by Silvio.Falconi
Thu Jan 15, 2015 12:27 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: create an arra from txt file
Replies: 7
Views: 2468

Re: Migrating to Harbour

James,

James Bott wrote:Are you only having issues with the memoWrit(), copyfile(), and memoLine() routines and everything thing else is working? Or, have you found other issues?


At the moment I'm very tired of Harbour. :-)

Anyway, I would like to fix that issues before keeping on...

EMG
by Enrico Maria Giordano
Mon Dec 15, 2014 10:20 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Migrating to Harbour
Replies: 238
Views: 45484
PreviousNext

Return to advanced search