Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
With this ... endwith crash VFP
Message
From
03/05/2001 12:58:03
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00502290
Message ID:
00503124
Views:
18
I do not get FoxTalk, however I was beginning to suspect this is a problem.

I am taking out the with endwith pairs.

Stangely enough the I only have problems when I am debugging the code. When I run without "set step on" it works and is not ripped by the with ... endwith pairs.

I believe I am having some computer resource problems.

Thank You.

>Do you get FoxTalk? The cover article for April, by Randy Pearson deals with WITH...ENDWITH. The section called "Danger Zone" should be particularly interesting for you. Essentially, it points out how you can get into trouble with nested WITH...ENDWITHs if you call a method while inside of a WITH...ENDWITH, since the scoping of WITH...ENDWITH is private, not local.
>

>>I am getting a Fatal Exception Code C000005 crash in one form after I hit the first "with this" statement in the class code.
Best Regards
Don Simpson
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform