Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Bug: AERROR
Message
 
To
24/06/2004 12:13:13
General information
Forum:
Visual FoxPro
Category:
Visual FoxPro Beta
Title:
Miscellaneous
Thread ID:
00916845
Message ID:
00916906
Views:
10
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform