>Good evenng all
>
>Yes folks, we have an honest to God QuickBasic program that needs to be converted to VFP. I have never used QB.
>
>If anyone has a suggestion about how to go about this ugly task, I REALLY would like to hear from you. Also, does anyone know of any QBasic to Fox coverters (any flavor of Fox 2.x or later); or of any tools that would generate psudeo code, or even a tool that would generate something like a UML diagram from QBasic source code?
>
>Thanks in advance for replying.
>
Don,
It really depends on how the QB program was written. If it's just a straight BASIC compilation (line oriented), then it'll require going through the code line by line. However, if it's not, then you'd first need to convert the Subs and Functions to individual programs to start. Any defined constants could be replaced with the #DEFINE directive. If any structures are implemented, I'd suggest converting them to cursors.
Prior to Fox, I did a lot of work in QB4.
George
Ubi caritas et amor, deus ibi est