Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
DIVIDE by ZERO (Where is the ERROR Message)
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Divers
Thread ID:
00823716
Message ID:
00823735
Vues:
25
>Hi all!
>
>Just wondered where the ERROR is.
>Try this:
>on error
>a=12/0 &&I wondered if there was an error message for this
>a=0/12 &&This is ok, and was ever
>
>Could somebody tell me why i dont get any error message. Tried this in VFP6SP5 and VFP7

Unlike just about every other language, Fox going back to the FoxBASE days, has never treated division by zero as an error. It simply displays a series of asterisks as the result.
George

Ubi caritas et amor, deus ibi est
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform