Any thoughts on this will help.
Hi John
When I have had to work with programming languages that did not have a "read line" function I have written a low level routine to read in x characters at a time, build a temporary string and look for the CR/LF end of line marker in order to terminate the string building process for each line. Not too difficult to achieve but does add a time overhead as string handling can be quite slow.
Clipper's FREADSTR function reads in a specified number of
characters up to a maximum of 65535 from which you can extract /
build each line of text.
If you cannot find a satisfactory solution take a look at:
https://github.com/vszakats/hb/blob/096e855/contrib/hbmisc/fileread.prg#L17
Regards Bob Bob F Burns G3OOU, G-QRP 6907, @BobFBurns Crystal Palace Radio & Electronics Club: https://cprec.chessck.co.uk/ Admin/sales site: http://www.g3oou.co.uk/ Technical site: www.qsl.net/g3oou
--
--
You received this message because you are subscribed to the Google
Groups "Harbour Users" group.
Unsubscribe: harbour-user...@googlegroups.com
Web: https://groups.google.com/group/harbour-users
---
You received this message because you are subscribed to the Google Groups "Harbour Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to harbour-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/harbour-users/ef2bf2b8-11fc-432c-856e-4edf4b2c1e74n%40googlegroups.com.