You are not logged in.

Dear visitor, welcome to Das dBASE Journal Forum. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

admin

Administrator

  • »admin« is a verified user

Posts: 115

Level: 32 [?]

Experience: 400,938

Next Level: 453,790

  • Send private message

1

Wednesday, March 7th 2012, 6:50pm

dBASE Exception Handling

Info:
In diesem Artikel wird beschrieben, wie man das Exception Handling in dBASE effektiv
einsetzen kann um Fehler in der Programmierung aufzuspüren und abzufangen.
Das Exception Handling ermöglicht es auch Probleme abzufangen, auf die der
Entwickler keinen Einfluss hat (wie z. B. nicht vorhandene oder gelöschte Ordner u.v.m.)
und die sich erst zur Laufzeit der Applikation herausstellen.

Der Artikel wurde vom dBASE Guru Ken Chan geschrieben. Der Text ist leider nur
in Englisch verfügbar.

Quoted

This article is an excerpt from Exploiting the Power of the Visual dBASE 7 Language, presented at the
1998 Borland Developers Conference in Denver, Colorado.

An exception is an interruption in the normal flow of your code. Errors are the main kind of exception that
you will encounter, but there are others, as you will see later. The idea behind exception handling is to
provide a structured, localized, and flexible way of dealing with exceptions; not just things that you hope
never happen (like errors), but also to deal with situations that are likely to happen, and even to use
exceptions to your advantage to control the execution of your code.
admin has attached the following file:

Used tags

dBASE, Programmierung

Rate this thread