Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Cannot Redefine Error
Message
From
27/04/2005 12:07:27
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Title:
Cannot Redefine Error
Environment versions
Visual FoxPro:
VFP 6 SP3
Miscellaneous
Thread ID:
01008898
Message ID:
01008898
Views:
59
I have a program which I run in blocks of 750 iterations. It seems to help to put wait states at various points (but this isn't the issue) so I have programs
OUTERLOOP.PRG
     DO setenvironment
     FOR outerloop = 1 TO 15
       DO InnerLoop
       WAIT WINDOW "Holding Outer Loop" TIMEOUT 5
     ENDFOR

INNERLOOP.PRG
     FOR innerloop = 1 TO 50
          DO realprogram
          WAIT WINDOW "pausing" TIMEOUT .5
          REPLACE doneflag WITH .T.
     ENDFOR
During one of the iterations I received a "Cannot Redefine" error. Unfortunately, my source code was unavailable to the debugger and I wasn't able to get much help from it. I rebuilt the project and recompiled the EXE, but when I re-ran the program (it started on the same record that failed) everything ran fine.

Does anyone have any information about this error?

Thanks............Rich
Next
Reply
Map
View

Click here to load this message in the networking platform