[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
enum and named sets
[Thread Prev] | [Thread Next]
- Subject: enum and named sets
- From: Brian G <brian@xxxxxxxxxxxxxxxx>
- Date: Sat, 6 Dec 2025 12:03:51 -0800
- To: GambasList <user@xxxxxxxxxxxxxxxxxxxxxx>
Would it be useful or possible to allow the naming of enum sets such that they could be referenced by that name collectively without having to generate a special class with just a public enum. This could be very useful I think.
Or maybe there is already a simple way to do this! Such that enum this_set_name none,fast, slow,red,green this allowing things like dim setcounter[] as new integer[5] inc setcounter[none] inc setcounter[green] or for each xx as variant in this_set_name print setcounter[xx] next -- ~~~~ Brian
Attachment:
OpenPGP_0x78BFB26402F48419.asc
Description: OpenPGP public key
Attachment:
OpenPGP_signature.asc
Description: OpenPGP digital signature
| Re: enum and named sets | Benoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx> |
| Re: enum and named sets | Jussi Lahtinen <jussi.lahtinen@xxxxxxxxx> |