Page 1 of 1

[Done] IsPack()

Posted: Wed May 07, 2025 5:24 pm
by Catdaddy
Forgive me if this is in the wrong forum. I've searched the bug lists and I'm not sure if this is a bug or if I'm not using it right. But the debugger keeps telling me IsPack() is not a function. I have 6.21 Beta 9 installed. Anybody else having trouble with this?

Re: IsPack()

Posted: Wed May 07, 2025 5:28 pm
by Quin
Can confirm, on PB 6.21 beta 9, Windows 10 21H2.
This code does it:

Code: Select all

Debug IsPack(0)

Re: IsPack()

Posted: Wed May 07, 2025 5:30 pm
by Mijikai
PB 6.20 x64, here the function does not exist.

Re: IsPack()

Posted: Wed May 07, 2025 5:50 pm
by Catdaddy
Thank you for confirming.

Quin,

Tried that line in a blank file in the editor and I still get the error. It must be in my install.

Re: IsPack()

Posted: Wed May 07, 2025 5:54 pm
by miso
6.21 beta 9 windows x64 - confirmed, says does not exist.

Re: IsPack()

Posted: Wed May 07, 2025 6:11 pm
by Quin
Catdaddy wrote: Wed May 07, 2025 5:50 pm Quin,

Tried that line in a blank file in the editor and I still get the error. It must be in my install.
Nope, not in your install, that line was me showing how to get the problem to happen :D

Re: IsPack()

Posted: Wed May 07, 2025 6:13 pm
by Catdaddy
Aha. Thank you, Miso. I'm NOT crazy, then! Well, at least on this subject :D

Re: IsPack()

Posted: Wed May 07, 2025 6:15 pm
by Catdaddy
Quin wrote: Wed May 07, 2025 6:11 pm
Catdaddy wrote: Wed May 07, 2025 5:50 pm Quin,

Tried that line in a blank file in the editor and I still get the error. It must be in my install.
Nope, not in your install, that line was me showing how to get the problem to happen :D
Quin,

Sorry about that. I misread your post. Thank you for confirming.

Re: IsPack()

Posted: Wed May 07, 2025 7:04 pm
by mk-soft
It's in the PB Help v6.20+, but it's never been exists.

Must be an error in the documentation.

Re: IsPack()

Posted: Wed May 07, 2025 7:15 pm
by Quin
mk-soft wrote: Wed May 07, 2025 7:04 pm It's in the PB Help v6.20+, but it's never been exists.

Must be an error in the documentation.
Don't think it's a doc error, it's even mentioned in the changelog. It just...doesn't work :P

Re: IsPack()

Posted: Wed May 07, 2025 7:24 pm
by miso
Maybe a not yet implemented future plan. Doc went ahead. Maybe...
I use packs and I'm fond of the Is() functions, but I started to write the needed parts with 5.73, while its working as a charm, I never took a look into the packer docs, and never tried that command or had problems with my old code. It also does not autocomplete, so it is mentioned in the docs only.

Re: [Done] IsPack()

Posted: Fri Aug 01, 2025 10:25 am
by Fred
Fixed.