[Bf-committers] Problem with UI colors, second attempt

Alexander Ewering blender at instinctive.de
Fri Dec 3 00:15:22 CET 2004


On Thu, 2 Dec 2004, Douglas Toltzman wrote:

> You don't need to resert to #defines, which cannot be type-checked by the
> compiler.  You can assign arbitrary values in an enumeration.
>
> e.g.
> enum foo {
> 	foo_jack=10,
> 	foo_jill,
> 	foo_hill,
> 	foo_crown,
> 	foo_bottom=100
> };
>

Wow, I should really read K&R more thoroughly once :)


| alexander ewering              instinctive mediaworks
| ae[@]instinctive[.]de   http://www[.]instinctive[.]de


More information about the Bf-committers mailing list