[Done] IsPack()

Post bugreports for the Windows version here
User avatar
Catdaddy
User
User
Posts: 30
Joined: Wed Mar 23, 2022 3:40 pm

[Done] IsPack()

Post 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?
Quin
Addict
Addict
Posts: 1131
Joined: Thu Mar 31, 2022 7:03 pm
Location: Colorado, United States
Contact:

Re: IsPack()

Post by Quin »

Can confirm, on PB 6.21 beta 9, Windows 10 21H2.
This code does it:

Code: Select all

Debug IsPack(0)
User avatar
Mijikai
Addict
Addict
Posts: 1517
Joined: Sun Sep 11, 2016 2:17 pm

Re: IsPack()

Post by Mijikai »

PB 6.20 x64, here the function does not exist.
User avatar
Catdaddy
User
User
Posts: 30
Joined: Wed Mar 23, 2022 3:40 pm

Re: IsPack()

Post 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.
miso
Enthusiast
Enthusiast
Posts: 413
Joined: Sat Oct 21, 2023 4:06 pm
Location: Hungary

Re: IsPack()

Post by miso »

6.21 beta 9 windows x64 - confirmed, says does not exist.
Quin
Addict
Addict
Posts: 1131
Joined: Thu Mar 31, 2022 7:03 pm
Location: Colorado, United States
Contact:

Re: IsPack()

Post 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
User avatar
Catdaddy
User
User
Posts: 30
Joined: Wed Mar 23, 2022 3:40 pm

Re: IsPack()

Post by Catdaddy »

Aha. Thank you, Miso. I'm NOT crazy, then! Well, at least on this subject :D
User avatar
Catdaddy
User
User
Posts: 30
Joined: Wed Mar 23, 2022 3:40 pm

Re: IsPack()

Post 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.
User avatar
mk-soft
Always Here
Always Here
Posts: 6209
Joined: Fri May 12, 2006 6:51 pm
Location: Germany

Re: IsPack()

Post by mk-soft »

It's in the PB Help v6.20+, but it's never been exists.

Must be an error in the documentation.
My Projects ThreadToGUI / OOP-BaseClass / EventDesigner V3
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
Quin
Addict
Addict
Posts: 1131
Joined: Thu Mar 31, 2022 7:03 pm
Location: Colorado, United States
Contact:

Re: IsPack()

Post 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
miso
Enthusiast
Enthusiast
Posts: 413
Joined: Sat Oct 21, 2023 4:06 pm
Location: Hungary

Re: IsPack()

Post 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.
Fred
Administrator
Administrator
Posts: 18162
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: [Done] IsPack()

Post by Fred »

Fixed.
Post Reply