Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Arrays
Message
De
25/01/2001 18:14:34
 
 
À
25/01/2001 17:12:21
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Re: Arrays
Divers
Thread ID:
00468777
Message ID:
00468858
Vues:
26
>>>
>>>Wouldn't work.
>>>
>>>laArray[2] = "something"
>>>
>>>laArray[1] could still be .f., but the array is not "empty".
>>>
>>>BTW, a value of .f., 0, "", or {}, could also be considered empty, depending on the type of data involved.
>>
>>
>>if ALEN(Myarray,0)= 0
>>* this array has no elements in it
>>endif
>>
>>
>>Jim
>
>I don't think that's possible. If it has no length, it's not an array.

The little 0 thats the last parameter means it returns the current number of elements and not just the defined size. I thought it might do what you want
Jim Newsom
IT Director, ICG Inc.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform