Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to determine if SP function exist
Message
De
15/09/2004 05:53:18
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00942105
Message ID:
00942294
Vues:
33
SET DATABASE TO MyDatabase
fTmp = DEFAULTEXT(ADDBS(SYS(2023))+SYS(2015),'tmp')
LIST PROCEDURES TO FILE (m.fTmp) NOCONSOLE
? SPACE(2)+'myprocedure' $ FILETOSTR(m.fTmp)
ERASE (m.fTmp)
* put procedures into a array
SET DATABASE TO MyDatabase
fTmp = DEFAULTEXT(ADDBS(SYS(2023))+SYS(2015),'tmp')
LIST PROCEDURES TO FILE (m.fTmp) NOCONSOLE
FOR I=1 TO ALINES(aSP,STREXTRACT(FILETOSTR(m.fTmp),SPACE(2)),.T.)
 ? aSP[m.i]
NEXT
ERASE (m.fTmp)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform