Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Ohmigawd ... Help!!!! SYS(2015)
Message
From
06/01/2000 12:31:48
David Fluker
NGIT - Centers For Disease Control
Decatur, Georgia, United States
 
 
To
05/01/2000 13:58:56
Ernie Veniegas
Micro System Solutions, Inc.
Calistoga, California, United States
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00313381
Message ID:
00313980
Views:
32
>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.
>
>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!!!
>
>Direction and your help GREATLY appreciated.
>
>Please and thanks!

Ernie,

Pardon me for jumping in late, but my favorite tool for what you want to do is good ol' FILER. It's not in the VFP menu like it was in 2.x but you'll find it in the VFP/tools/filer folder.

Here's how to use it...
1. [In Name & Location]: Pick the folder you want to search and the type of files like *.prg, *.dbf, *.* Separate types by semi-colon *.scx;*.sct
2. [In Text Search]: Enter SYS(2015) as search expression 1
3. Click Find Now
Cool Benefit (and why I like Filer) - Click Edit and all files that match your search will open to be edited. Of course you won't want to edit some of instances that way, but PRGs and text files work great that way.

David.
David.
Previous
Reply
Map
View

Click here to load this message in the networking platform