Hi Evan:
Based on the Help file description, the ADIR() function only allows one
file type at a time. Assuming you want to get the bmp and jpg files into
one array, you could write your own Adir function like this:
= Adir( ArrayVar, ".bmp" , "D")
CREATE CURSOR temp from Arrayvar
APPEND FROM ARRAY Arrayvar
=Adir(Arrayvar,.jpg","D")
APPEND FROM ARRAY Arrayvar
COPY TO ARRAY Arrayvar
I hope this helps.
This posting is provided "AS IS" with no warranties, and confers no rights.
Sincerely,
Microsoft FoxPro Technical Support
Lee Mitchell
*-- VFP8 HAS ARRIVED!! --*
Read about all the new features of VFP8 here:
http://www.universalthread.com/VisualFoxPro/News/VFP8Release.asp
Purchase VFP8 here:
http://shop.microsoft.com/Referral/Productinfo.asp?siteID=11518
Keep an eye on the product lifecycle for Visual FoxPro here:
http://support.microsoft.com/default.aspx?id=fh;[ln];lifeprodv
- VFP5 Mainstream Support retired June 30th, 2003
- VFP6 Mainstream Support retires Sept. 30th, 2003
Post by StealthBlueAdir( ArrayVar, ".bmp ; .jpg" , "D")
This line does not work
".bmp ; .jpg"
Just .bmp works but how do you add another additional file type?
Thanks Evan