3rd parameter optional+multiple pattern @ ExamineDirectory()

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
AND51
Addict
Addict
Posts: 1040
Joined: Sun Oct 15, 2006 8:56 pm
Location: Germany
Contact:

3rd parameter optional+multiple pattern @ ExamineDirectory()

Post by AND51 »

Hello!

My suggestions are the following (unless they're already requested):
  • Make the pattern-parameter optional @ ExamineDirectory() . If you don't set the 3rd parameter, a empty string (=equal to *.* should be used)
  • Supporting multiple pattern (e. g. *.bmp|*.png|*.jp*g)
PB 4.30

Code: Select all

onErrorGoto(?Fred)
AND51
Addict
Addict
Posts: 1040
Joined: Sun Oct 15, 2006 8:56 pm
Location: Germany
Contact:

Post by AND51 »

By the way, what about the same things for DeleteDirectory()?
PB 4.30

Code: Select all

onErrorGoto(?Fred)
r_hyde
Enthusiast
Enthusiast
Posts: 155
Joined: Wed Jul 05, 2006 12:40 am

Post by r_hyde »

I second, third, and fourth the motion :!:
Chrono Syndrome
Enthusiast
Enthusiast
Posts: 169
Joined: Thu Oct 05, 2006 6:44 am
Contact:

Post by Chrono Syndrome »

Agree.
Don't try to catch ze Night !
Remember: 'z' is better zen 'th' =) !
Sorry for bad english.
AND51
Addict
Addict
Posts: 1040
Joined: Sun Oct 15, 2006 8:56 pm
Location: Germany
Contact:

Post by AND51 »

r_hyde wrote:I second, third, and fourth the motion :!:
I don't understand... :?:
PB 4.30

Code: Select all

onErrorGoto(?Fred)
r_hyde
Enthusiast
Enthusiast
Posts: 155
Joined: Wed Jul 05, 2006 12:40 am

Post by r_hyde »

Sorry to confuse. I was being playful with the common English/American expression "second the motion", meaning that one is in favor of a proposal. By saying that I not only "second the motion", but also "third and fourth" it, I merely mean that I strongly support it.

In other words, I definitely want these features!
Post Reply