Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Determine if variable is an array?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00112224
Message ID:
00112288
Vues:
21
>Does anyone know of a clean way to determine if a variable is of type array? Example:
>
>DIMENSION x[10]
>STORE 0 to x
>x[1]='Some string'
>? TYPE('x') --> returns C which is the type of the first element.
>
>Has VFP6 made arrays as objects?
>
>Thanks
>Costas
Costas,

?TYPE("x(1)") will return U for a non-array.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform