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:
00413907
Vues:
15
>I did apologize when I figured out what he was saying. But what about a non-existent variable? It will return ‘U’ as well and it’s not an array.

Bill,

Yes it will but you can go on to check TYPE("MyArray"). If TYPE("MyArray(1)") is U and TYPE("MyArray") is NOT U then you have a non-array variable.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform