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:
00413726
Vues:
7
>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,

Read and try the answer,

TYPE("MyArray(1)") will return a "U" if MyArray is not and array and some other data type if it is an array. Yes the type returned will be the data type type of the first element but if the return is "U" then you know that MyArray is NOT an array.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform