Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Bug: AERROR
Message
 
À
24/06/2004 12:13:13
Information générale
Forum:
Visual FoxPro
Catégorie:
Visual FoxPro Beta
Titre:
Divers
Thread ID:
00916845
Message ID:
00916906
Vues:
9
Fabio,
A bug in what? Aerror or VArtype()/Type()?

Richard

>Run this, i think that this is a bug.
>
>
>CLEAR ERROR   && Very good new command.
>CLEAR
>LOCAL ARRAY aErrArray[1]
>LOCAL  zaza
>? AERROR(aErrArray)
>? VARTYPE(xx)   && Returns "U"
>? AERROR(aErrArray),MESSAGE(),aErrArray[1]
>? VARTYPE(xx,.F.)   && Causes an error. Ignore it.
>? AERROR(aErrArray),MESSAGE(),aErrArray[1] && Error is stored in the array.
>? VARTYPE(yy)
>? AERROR(aErrArray2),MESSAGE(),aErrArray2[1]
>? VARTYPE(zaza)
>? AERROR(aErrArray3),MESSAGE(),aErrArray2[1]
>? VARTYPE(kk)
>? AERROR(aErrArray4),MESSAGE(),aErrArray2[1]
>CLEAR ERROR
>? VARTYPE(kk)
>? AERROR(aErrArray4),MESSAGE(),aErrArray2[1]
>
State of Florida, DCF
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform