VFP: VFP and Strings


Very interesting post from Calvin on string performance here and his follow up here.
I think this is an important read for all FoxPro programmers for the simple reason that we (arrogantly sometimes I think) can fall into the ‘VFP is great at string manipulation and I don’t have to worry about optimising my code’ trap.
Markus and Rod’s post comparing VFP to C# will quickly set you straight when it comes to performance (C# kills VFP, especially when the VFP code is not optimised).
So the lesson here is that in everything we do, even putting some strings together, we need to be on top of our game, understanding our development tool intimately and providing the very best solutions for our clients.
Calvin also points to Steven Black’s very helpful article on strings.


By Craig Bailey