Information générale
Catégorie:
Codage, syntaxe et commandes
>Yep, I've seen it and had it happen to me. But the reason was that the command:
>
>SET ORDER TO SOMETAG
>
>didn't generate the error it should have. The error should be "Index tag does not exist". However, you'll the "unknown variable" with compound index files if the tag doesn't exist. In each case, I forgot to create it. It was me, not FoxPro. :-)
But I _didn't_ forget to create it. The index is there, part of the table. Using that _same_ table on two different computers, running the _same_ code, on one computer it can't find the index.
In another case, running the same code on the _same_ computer, one time it would find it, another time it wouldn't. Same everything, different run.
>Initializing variables immediately after you declare their scope is good programming technique.
I guess I'll keep doing it, then. :)
Thanks,
Précédent
Suivant
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