Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
What is the best way to compare two ARRAYS?
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00064972
Message ID:
00065126
Views:
41
>>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
Previous
Reply
Map
View

Click here to load this message in the networking platform