Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The following table lists language makes it possible for you to perform debugging and error-handling operations in Visual FoxPro programs.
Debugging Language
Use |
To |
---|---|
Indicate the beginning of a comment line. |
|
Indicate the beginning of an inline comment. |
|
Release the specified item or items from memory. |
|
Open the Visual FoxPro Debugger. |
|
Direct the result of one or more expressions to the Debug Output window. |
|
Determine whether the Trace window is opened when an error occurs in a form that is running. |
|
Determine whether Visual FoxPro displays command results. |
|
Enable or disables tracing between breakpoints in the Trace window. |
|
Display a message and pauses Visual FoxPro execution until the user presses a key or clicks the mouse. |
Error Handling Language
Use |
To |
---|---|
Store error information in an array. |
|
Store error information in the COM exception structure. |
|
Open the Debugger or Trace window. |
|
Generate a specific Visual FoxPro error to test your error handling. |
|
Return an error number. |
|
Return an executing program line. |
|
Return an error message string. |
|
Execute a command when an error occurs. |
|
Return commands assigned to error handling commands. |
|
Executes a command when exiting Visual FoxPro or Windows. |
|
PROGRAM( ) Function OR SYS(16) - Executing Program File Name |
Return the name of the currently executing program. |
Run the most recently executed command. |
|
Generate an error when attempting to update or insert values in an autoincrementing field. |
|
Return any current error message parameter. |
|
Return error handler type for an error. |
|
Handle errors and exceptions that might occur while running a block of code. |