D - BUG enum
- tintor (7/7) Oct 16 2003 enum A {a,b,c}
- Benji Smith (4/11) Oct 16 2003 Use "A.c" instead of just "c".
- Patrick Down (7/14) Oct 16 2003 Try this.
enum A {a,b,c} void main() { A m = c; } This cannot compile. Compiler complaints that C isn't defined.
Oct 16 2003
On Thu, 16 Oct 2003 15:38:57 +0000 (UTC), tintor <tintor_member pathlink.com> wrote:enum A {a,b,c} void main() { A m = c; } This cannot compile. Compiler complaints that C isn't defined.Use "A.c" instead of just "c". --Benji
Oct 16 2003
In article <bmme2h$l26$1 digitaldaemon.com>, tintor says...enum A {a,b,c} void main() { A m = c; } This cannot compile. Compiler complaints that C isn't defined.Try this. enum A {a,b,c} void main() { A m = A.c; }
Oct 16 2003