Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Adir function
Message
From
07/12/1998 09:12:46
 
 
To
07/12/1998 08:26:03
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00164664
Message ID:
00164701
Views:
12
>Hi Ed:
>
>I tried your code and after the adir I get all files and when I display the array and "copy to array filelist for! '.fpt'$fname I just get the .fpt file in my array. What I wanted was to delete these fpt files from my array and then
>redimension it.

I'd guess that you left out the '!' - that;'s the NOT operator. Also, the $ compare is case-sensitive, so try:

COPY TO ARRAY aFileList for NOT '.FPT' $ UPPER(FNAME)
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform