Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
C0000005 is changing my code
Message
 
 
To
12/04/2005 03:03:52
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
01003589
Message ID:
01003769
Views:
14
My code is fine (or at last is was). I am showing how it looks in the debugger. The REPLACE in my code does not have "replace _letter = rptcntl.field2". In the debugger something is replacing the variable name with the data from a line above it. Notice that "_letter = rptcntl.field2" is exactly in the same position a couple of lines above.


>In addition to Malcolms comments, I see that the two last lines in your code snippet contain errors, remove the 'replace' words
_letter = rptcntl.field2
hold_next_letter = ' '

>>VFP6 SP2, getting a C0000005 intermittant along with a pushjmp/popjump and various other flaky conditions. In happens in the same section of code. In the debugger I see that the code is wrong. The reserved words are correct, but the variables have been copied from about 8 lines above. Something like below. Has anyone seen this problem before? Just an FYI - I did try unsuccessful to install a new HP printer tonight.
>>
>>
>>
>> assert .f.
>> hold_next_letter = rptcntl.field2
>> else
>> hold_next_letter = ''
>> endif
>> replace _letter = rptcntl.field2
>> replace hold_next_letter = ' '
>>
Previous
Reply
Map
View

Click here to load this message in the networking platform