Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Lost programs, undeclared arrays, reports, and misc. q's
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00087807
Message ID:
00089061
Views:
36
>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
Map
View

Click here to load this message in the networking platform