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
Remove the extension part of a file.
Re: Remove the extension part of a file.
It's meaning is clear, stop wasting your time on trivial ****!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.

- Hroudtwolf
- Addict
- Posts: 803
- Joined: Sat Feb 12, 2005 3:35 am
- Location: Germany(Hessen)
- Contact:
Re: Remove the extension part of a file.
@Kale
Facts do not cease to exist because they are ignored.
Aldous Huxley
Facts do not cease to exist because they are ignored.
Aldous Huxley
Re: Remove the extension part of a file.
Hroudtwolf wrote:@Kale
Facts do not cease to exist because they are ignored.
Aldous Huxley

- Rook Zimbabwe
- Addict
- Posts: 4322
- Joined: Tue Jan 02, 2007 8:16 pm
- Location: Cypress TX
- Contact:
Re: Remove the extension part of a file.
Tell that to a politician or fanatic!Facts do not cease to exist because they are ignored.

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.
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.
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.
MacBook Pro-M1 (2021), Sequoia 15.4, PB 6.20