Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Complicated algorithm - could not figure this out by mys
Message
 
 
À
15/07/2002 22:32:17
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00678774
Message ID:
00679100
Vues:
32
Hi Steve,

I think, you're right again. I will make the necessary changes. I will keep you updating with my progress.

>Hi Nadya,
>
>I'll just comment them out, since they don't affect the overall functionality. I have not been able to look at it this evening at all...too much work to do. Perhaps I will get a chance tomorrow, but the best chance is Wednesday, since tomorrow is my anniversery with my wife, and I don't plan on staying here at work late :)
>
>I do know that I usually use a little different loop structure for this type of situation. Something like this:
>
>
>do while not eof('table1')
>
>    ... set variables, etc...
>
>    if table1.currentAddress <> m.lcCurrentAddress
>        * start new group of records
>    else
>        * do things for continuing on same group of records
>    endif
>
>    skip in table1
>enddo
>
>
>The primary reason is that the control loop is based on an eof() check. I would want the change in that loop to occur at the very bottom, and don't prefer to have another (inner) loop that can affect that condition.
>
>Talk to you tomorrow,
>
>steve
>
>>
>>These are not important. You may comment these lines for now. If you want I'll send you Lookups database tomorrow (it's not that big anyway).
>>
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform