Oh. Yes of course that works, I hadnt realised it only took the two arguments.
Many thanks. BTW are imagesavetiff and imagesavepng working now?

Date sent:              Sun, 4 Jun 2006 17:30:15 -0700
From:                   "John Bridges" <[EMAIL PROTECTED]>
To:                     [email protected]
Subject:                Re: drivefilelist
Send reply to:          [email protected]

[ Double-click this line for list subscription options ] 


On 6/4/06, Patrick Forsyth <[EMAIL PROTECTED]> wrote:
>
> Can anyone help me with drivefilelist?
> this works in GLPRO
> images=driveFILELIST( 0, @path$"*.jpg", @path$"*.gif", @path$"*.tif", 
> @path$"*.bmp")
> messagebox @images
>
> but in Aftergrasp only shows the files with the first file extension (in this 
> case .jpg).
> If I switch the arguments so that @path$"*.gif" comes first, then only gifs 
> are listed.



Wouldn't this work?

images = driveFILELIST(0, @path$"*.jpg")$driveFILELIST(0,
@path$"*.gif")$driveFILELIST(0, @path$"*.tif")$driveFILELIST(0,
@path$"*.bmp")


---
[This E-mail scanned for viruses by Declude Virus for the IOP]




--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"aftergrasp" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/aftergrasp
-~----------~----~----~----~------~----~------~--~---

Reply via email to