Re: enums

2021-02-04 Thread Lance Dillon
Ah, I was trying to search for enum in the pike docs, but nothing showed up on the web page.  I'll have to try to search further and see where it is located. Thanks On Thursday, February 4, 2021, 11:02:12 AM EST, Stanislaw Klekot wrote: On Thu, Feb 04, 2021 at 01:08:56PM +, Lance

Re: enums

2021-02-04 Thread Stanislaw Klekot
On Thu, Feb 04, 2021 at 01:08:56PM +, Lance Dillon wrote: > What would be the best way to represent enums?  It has been a while since I > wrote pike code, so I'm looking in the docs and can't see anything.  Maybe > just a bunch of constants?  Or maybe a class (or struct)? I think the best en

enums

2021-02-04 Thread Lance Dillon
What would be the best way to represent enums?  It has been a while since I wrote pike code, so I'm looking in the docs and can't see anything.  Maybe just a bunch of constants?  Or maybe a class (or struct)? Thanks