I THINK I have solved the problem.
I tried various ways with the current methods as you suggested, without real success. Too many errors and issues, unwieldy, inelegant. So I looked in the Clarion Templates (ABASCII.CLW and ABASCII.INC) and duplicated the 'NEXT' file class, renamed it PREVIOUS...
Thanks again for taking the time to respond, much appreciated.
I'll give your suggestion a go and see what happens. Might take me a day or two to sort it out, but will definitely let ypu know how I get on. :)
Thanks again.
Thanks for your reply Uniglass. Your suggestion is better than I have come up with so far.
My problem is that I have to read the last few 'lines' of an ASCII based log file that is generated every five seconds on a daily basis by a hardware based unit. Towards the end of the day' there are up to...
I have a need to read a large ascii file in reverse order, that is to find EOF then read the last line, then the penultimate line and so on. Under normal circumstances, I would use a 'PREVIOUS' command, but of course this is not available for ASCII files.
A brute force approach is to find the...
Brilliant. Thanks for the example, works as advertised - even when compiled with version 8.
Helped enormously to track down the issue for me. Basically, did not get an 'immediate' in the properties dialogue, so I 'hard coded' IMM into the widow declaraiotn and have got it working in my app...
Something screwy here.(Me probably). I am using version 8.
I have a string entry field called GLO:Forecast which e usEr enters the text, and needs to know the character length (which then gets sent out as an eText message.
When I look at the properties, there is no immediate option to select...
Anyone got any neat way of exporting/importing a CSV format into/out of a memo field?
I've done it, but not very elegant. The problem is that memo fields may contain CR/LF (<13,10>) combinations that. The only way I can figure is to parse through the memo field converting the CR/LF Combo to a...
Thanks for the second post, but seems not to work as well. This only updates the character count after leaving the text entry field - unless I am doing something wrong, which is likely!
I have a need to display the number of charchters in a string when a user is enetreing text. Am looking for a way to display the length of the string as each charachter is typed in.
Am sure it must be in an embed somwhere, possibly with an API call perhaps?
Any Ideas how to do this please?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.