General information
Category:
Coding, syntax & commands
>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,
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only