Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Ohmigawd ... Help!!!! SYS(2015)
Message
De
05/01/2000 14:09:24
 
 
À
05/01/2000 13:58:56
Ernie Veniegas
Micro System Solutions, Inc.
Calistoga, Californie, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00313381
Message ID:
00313388
Vues:
26
>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!

Yeah, use SYS(2015) NOT SUBSTR( SYS(2015...,) or if you use Substr(SYS...), prepend some known legal filename text like "_" or "tmp", etc. ... which you know now. :-)

Happened to me before too. :-) Two things I can think of. One, use the "Find" option in Windows Explorer to determine all files containing the string "SYS(2015)" and make corrections.

Or two, use my TableScan application in the UT Files section to scan all VFP table types for "SYS(2015)" to locate the files. Windows Explorer "Find" would probably be faster.
William A. Caton III
Software Engineer
MAXIMUS
Atlanta, Ga.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform