From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ben Elliston To: Johan Rydberg Cc: "Frank Ch. Eigler" , Subject: Re: enums Date: Wed, 06 Dec 2000 03:35:00 -0000 Message-id: References: <3A2E21F0.A5A0C5FE@netinsight.se> X-SW-Source: 2000-q4/msg00238.html > : (values ("RESET") ("BUSERR" -) ("DPF" -) ("IPF" -) > : ("EXTINT" -) ("ALIGN" -) ("ILLEGAL" -) ("PEINT" -) > : ("DTLBMISS" -) ("ITLBMISS" -) ("RRANGE" -) > : ("SYSCALL" -) ("BREAK" -) ("RESERVED" -)) > Is this intentional? Why define the others with value "-" ? Well, first i defined it like: ("RESET" #x100) ("BUFFER" #x200) And that didn't work at all. All the "-" values is just the result of a search-and-replace. In other contexts, an enum value can be: (values "RESET" "BUSERR" "DPF" ..) Does that work? Ben