>>>I know, the result would need some extra formatting... what else would you want in 20 minutes?
>
>Dragan,
>
>I tried to run it in VFP6.0, I had to replace GetWordNum with WordNum, I passed wgUtility.prg, 'wgUtility_Def.prg',' '. Finally it gave me an Error message, variable cNewText is not found. What's wrong?
I've used the Set Text To Memvar, which is a 7.0 novelty. You should probably Set Text To (tcNewPrg) and forget about the cNewText variable. It's just faster this way, because it's doing only one disk write.