Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
File skeleton
Message
From
12/05/2005 11:28:08
 
 
To
11/05/2005 22:56:11
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP1
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01013253
Message ID:
01013445
Views:
10
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform