IsPackFile(#PackFile)

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
User avatar
the.weavster
Addict
Addict
Posts: 1576
Joined: Thu Jul 03, 2003 6:53 pm
Location: England

IsPackFile(#PackFile)

Post by the.weavster »

Code: Select all

IsPackFile(#PackFile) 
To check a handle is valid, just as we have with

Code: Select all

IsFile(#File) 
and

Code: Select all

IsDatabase(#Database)
Quin
Addict
Addict
Posts: 1131
Joined: Thu Mar 31, 2022 7:03 pm
Location: Colorado, United States
Contact:

Re: IsPackFile(#PackFile)

Post by Quin »

+1. It'd be great to see the packer library get some nice updates overall soon :)
BarryG
Addict
Addict
Posts: 4136
Joined: Thu Apr 18, 2019 8:17 am

Re: IsPackFile(#PackFile)

Post by BarryG »

Including password support.
User avatar
the.weavster
Addict
Addict
Posts: 1576
Joined: Thu Jul 03, 2003 6:53 pm
Location: England

Re: IsPackFile(#PackFile)

Post by the.weavster »

If the WebView coming in 6.10 will allow us to expose PB functions to JS these kind of checks are important to stop a script from being able to crash the host app.
Post Reply