Information générale
Catégorie:
Codage, syntaxe et commandes
Tim-
To add to Jim's post...I *think* you may need to check which table you have selected at the top of the DO WHILE. The first time in, it's selected on ECU, but at the bottom of the DO WHILE you select scanfile. The first time you don't get *bitten* as long as both files have the same EOF() condition, which is really just lucky. :) Mark shows you a good way of using the optional alias parameters to good effect.
Also, you might check out the SCAN command, it handles some things for you, like you don't need to reselected the driving table at the bottom of the loop, and you don't have to SKIP. It is also faster, as I understand it.
Also, hit reply to this or Mark's reply and check the < PRE > and < /PRE > tags (w/o the spaces). You can use those to PREserve the nice formatting of code for readability.
HTH
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement