Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Checking to see if a variable is an array.
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00413697
Message ID:
00413717
Vues:
12
>Not to be a Pig here but did you read the question? The TYPE and VARTYPE of an array return the TYPE or VARTYPE of the first element. I don't know wether the varriable is actually an array or not.

Bill, did you try an answer?

TYPE('myarray(1)') will return "U" if myarray is NOT an array, but a variable. That's how you know it is not an array.
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro

"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform