Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Determine Array parameter is 1 or 2 Dimension?
Message
 
 
À
11/03/1998 21:03:38
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00084064
Message ID:
00084070
Vues:
25
Justok, I think you can ask for: ALEN(MyArray,2), which returns the number of columns in the array. If the array is a one-dimensional array, ALEN( ) returns 0 (no columns).

I think you can also do:
If type("MyArray[1,1]") <> "U"
  * 2-D array
Else
  * 1-D array
Endif
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform