No, arrays can use enums as the index type (and I use this feature all the time): type country = enum ITALY, GERMANY, PORTUGAL var capital: array[country, string] = ["Rome", "Berlin", "Lisbon"] echo capital[ITALY]
- [noob] enums and index DTxplorer
- Re: [noob] enums and index Araq
- Re: [noob] enums and index Krux02
- Re: [noob] enums and index DTxplorer
- Re: [noob] enums and index LeuGim