Did a quick glance at your alternative way using snippets. Looks to me another excellent way of solving one of our most common problems, chopping up strings.
For me, however, I don't see off the top of my head how I can use something like that in FP26 as nothing can be CLASSed. If I have time I might tinker with the idea of using FoxPro to write some of the code from a database containing modifiable UDFs that can be customized for a particular use.
I am already using FP to write HTML and JS code some of which is stored in a database and modified to fit the web page on the fly. So, it might not be too big a leap to do something similar with snippets of FP code.
Thanks. When I get to the point where I need to do heavy duty string manipulation, I will look into this further. At the moment, and for a few months down the road, speed will not be an issue, so I will continue to use my UDFs in those places where speed will probably never be an issue, like string manipulation during user input.
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.