Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
File skeleton
Message
De
12/05/2005 11:28:08
 
 
À
11/05/2005 22:56:11
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP1
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
01013253
Message ID:
01013445
Vues:
11
>Hi,
>May I know the file skeleton that able to find these files using ADIR()?
>
>1. MYPREFIX-MYTOPIC.APP
>2. MYPREFIX{space}{space}-MYTOPIC.APP
>3. MYPREFIX-MYTOPIC2.APP
>4. MYPREFIX{space}{space}-MYTOPIC2.APP
>
>P/S: MYPREFIXaa-MYTOPIC.APP should not be returned.
>
>Thank you


Try this...
? ADIR(aa,MyPrefix + "-" + MyTopic + "?.app")
? ADIR(bb,MyPrefix + "  -" + MyTopic + "?.app")
DIMENSION aa[ALEN(aa,1)+ALEN(bb,1),ALEN(aa,2)]
ACOPY(bb,aa,1,-1,(ALEN(aa)-ALEN(bb))+1)
RELEASE bb
Greg Reichert
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform