... 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
... 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.,
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 ...
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
... 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 ...
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...