"Kagamin" <spam at here.lot> wrote in message news:gg3t81$2flu$1 at digitalmars.com... > Saaa Wrote: > >> In stead of numbers I use an enum, which makes it really difficult to get >> this wrong: >> fruits[BANANA].peel(); > > why not using struct? How do you mean? What should be a struct?