>Is there a way to find ALL usages of a particular FoxPro command? In this case, I need to find EVERY usage of SYS(2015) and/or the ALIAS argument in a USE statement.
There are several programs in UT Files section which search all files in the project, for example file#9247 "VersaTOOLS v2.2b for Visual FoxPro 5.0"
>
>I started receiving calls from users concerning syntax errors in an app that has worked well up until 2000 and found the culprit to be SYS(2015). More specifically, substringing the value that SYS(2015) returns and trying to use the result as a valid file name. Only, the substrung result does NOT begin with an underscore or alpha and so is not a valid file name and so CRASHES AND BURNS gracelessly!!!
That's the reason that SYS(2015) starts with underscore... :)
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro
"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison