Page 4 of 4
Re: Remove the extension part of a file.
Posted: Fri Sep 25, 2009 4:01 pm
by Demivec
Since quotes are in fashion, here's another:
“The fundamental law of computer science: As machines become more powerful, the efficiency of algorithms grows more important, not less.” — Nick Trefethen
Re: Remove the extension part of a file.
Posted: Fri Sep 25, 2009 4:43 pm
by Kale
luis wrote:The phrase you just quoted is inside the link I posted BTW, and it's cited trying to understand its meaning, instead of using it as a shield for your own shortcomings.
It's meaning is clear, stop wasting your time on trivial ****!

Re: Remove the extension part of a file.
Posted: Fri Sep 25, 2009 6:46 pm
by Hroudtwolf
@Kale
Facts do not cease to exist because they are ignored.
Aldous Huxley
Re: Remove the extension part of a file.
Posted: Fri Sep 25, 2009 6:48 pm
by Kale
Hroudtwolf wrote:@Kale
Facts do not cease to exist because they are ignored.
Aldous Huxley

Re: Remove the extension part of a file.
Posted: Wed Sep 30, 2009 8:22 pm
by Rook Zimbabwe
Facts do not cease to exist because they are ignored.
Tell that to a politician or fanatic!
I have used them all and all work well... As a test I deleted ALL extensions from a 5mb test drive (laptop HDD) and then deleted everything listed... adds a layer of security to a delete!
NEXT UP: reading each file 1 byte at a time and writing a random 1 or 0 THEN deleting it!
Re: Remove the extension part of a file.
Posted: Mon Oct 26, 2009 5:57 pm
by WilliamL
So let me get this straight.
If you create the RegualrExpression then you should 'FreeRegularExpression' before you create it again but if you recreate it with the same constant then it is ok since pb just frees it for you. I suppose if you created the RegularExpression using #PB_Any then you would have a memory leak!
I'm guessing this applies to images created in procedures also. I've been a little lax in that regard.