>>OK, I modified scctext.prg to have a front end to allow you to pick the file to convert via getfile.
>>
>>I then used windiff to make the comparison of the two created text files.
>>
>>Is any body interested in the code to modify scctext.prg?
>
>Hi Mike
>
>I think it's a really bad idea to change the files that come with VFP. How much code could you need?
>
>
>LOCAL m.lcFile
>m.lcFile = GETFILE()
>DO (HOME()+"scctext") WITH m.lcFile
>
The code changes go into another file. I made a backup copy of the source one and gave the new one a new name. So, I didn't modify the supplied code, but used it as a base for the changes.
Your code above, is a part of it. If you examine the original code, it expects 4 parameters to be passed. They can be derived from the filename. However, if you just pass the file name it doesn't create the others in the program.
I was just making an offer to give back to this community that has helped me in the past.
Mike