On Fri, 5 Jan 2001, Kevin Smith wrote: > Lyle Johnson wrote: > > >In other words, I need it to work exactly like C enums ;) > > I haven't looked at enumerate.rb yet, but my def > enum solution could be enhanced to allow an > optional re-starting parameter. So you would > say: > A = enum(35) > B = enum > C = enum > > And you wouild know that B would be 36 and C > would be 37. > If it's the only thread running... ;-) Regards, /Robert