Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Arrays
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Re: Arrays
Divers
Thread ID:
00468777
Message ID:
00468827
Vues:
19
>>IF laArray = .f.
>> ** my array is empty
>>else
>> ** it is not empty
>>endif
>>However, this only works after it has initialized :-).
>
>
>Thanks for the info. I guess I should have explained what I meant a little more.
>
>What I mean is if I did something like this
>DECLARE laArray[1,2]
>?laArray && returns .f. The array is empty after initialization.
>
>however, if we put something in [1,2] and nothing in [1,1],
>?laArray would not return a .f. It would not display anything.

No, "?laArray" would still return .F. if there has never been a value put in it.
It is still "empty", however the array is not.

>
>That is what I meant by
> >However, this only works after it has initialized :-).
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform