Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
What is the best way to compare two ARRAYS?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00064972
Message ID:
00065126
Vues:
37
>>lErrorflag=.f.
>>on error lErrorflag=.t.
>>for nLoop=1 to max(alen(array1),alen(array2))
>> if array1[nLoop]<>array2[nLoop]
>> =messagebox("Non-identical arrays")
>
>By putting
and
tags around the code, you can get it to come out like this:
>
>
>lErrorflag=.f.
>>on error lErrorflag=.t.
>>for nLoop=1 to max(alen(array1),alen(array2))
>>    if array1[nLoop]<>array2[nLoop]
>>          =messagebox("Non-identical arrays")
>
>Just in case anyone was wondering.....

Thank you! I keep my HTML notes at home and try to abstain to use it much on-line :)
Edward Pikman
Independent Consultant
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform