Hello all!
Are the memo and text functions from harbour limited to 256 characters per line as in clipper?
Question to Memoline(),mlcount(),etc.
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Günther,
The main problem with MemoLine() is that it starts from the beginning of the text everytime you extract a line so it is slow.
FWH provide a function ExtractLine() that it is very fast (as it reuses the current in text position) and that does not have any lenght limitation:
The main problem with MemoLine() is that it starts from the beginning of the text everytime you extract a line so it is slow.
FWH provide a function ExtractLine() that it is very fast (as it reuses the current in text position) and that does not have any lenght limitation:
Code: Select all
cTxtFile = MemoRead( cRCFile )
nFrom = 1
while nFrom < Len( cTxtFile )
cLine = ExtractLine( cTxtFile, @nFrom )
...
SysRefresh()
end