Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Error
Message
From
17/09/2003 10:41:30
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
17/09/2003 09:25:29
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Re: Error
Miscellaneous
Thread ID:
00829832
Message ID:
00829890
Views:
21
>my problem is i have a function i my program called trap_Error
>and i want to disable it just for a couple of instruction
>so how can i do

Robert,
There is no list. Any command (or function or even assignment) could follow an 'on error'. ie:

on error do myErrhandler with lineno(),message()
on error m.myVar = 3
on error xx=myFunc()

Common ones :
on error do errorhandler
on error retry
on error return

For your case :
on error && Disable custom error trapping
* Do whatever
on error do trap_Error && Restore handler back
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Reply
Map
View

Click here to load this message in the networking platform