Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Aerror(laError), type('laError')='N' ???
Message
De
31/01/2002 07:56:32
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00613268
Message ID:
00613273
Vues:
8
>Hello,
>
>I was playing around with aError(laError) this a.m. and after laError was created I tested it's type and it came back as an 'N'. Why didn't it come back as an 'A'? (using vfp 6 sp3)

Unfortunately, this is the way VFP works. If you ask for laError, what you actually get is laError(1). This first element is probably of type numeric.

Do you want to check whether a supposed array is really an array?
dimension AnArray(3)
NotAnArray = 5
? type("AnArray(1)")   && not "U" - this is an array
? type("NotAnArray(1)")  && = "U" - this is not an array
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform