int foo; enum bar = foo+2; void main() { foo = 7; assert(bar == 9); } -- Best regards, Vladimir mailto:vladimir at thecybershadow.net