Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Need CODE() command
Message
From
11/11/1999 10:12:04
 
 
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00290062
Message ID:
00290070
Views:
25
>I'm looking for something along the lines of PROGRAM() and LINENO() that would return the current line of code. Does anything like that exist?
>
>My problem is that a messagebox is popping up that I want to get rid of. But I have no idea where in this rats nest AKA SBT code it is. So I would like to set a breakpoint on "MESSAGEBOX" $ CODE(). I have a feeling this isn't possible, but I thought I'd ask just in case.
>
>Thanks,
>
>Michelle

Can you do a textsearch throught the code for the message string that is being displayed? That is of course assuming the message is hardcoded in the program.

BOb
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform