POV-Ray : Newsgroups : povray.programming : enum { SOMETHING = 'Thing' } ? : enum { SOMETHING = 'Thing' } ? Server Time
3 Jul 2024 05:51:14 EDT (-0400)
  enum { SOMETHING = 'Thing' } ?  
From: AngleWyrm
Date: 31 Jan 2004 15:42:33
Message: <401c1339$1@news.povray.org>
This syntax is new to me:

/* POV-Ray Message Classes */
enum
{
 kPOVMsgClass_RenderControl   = 'Ctrl',
 kPOVMsgClass_RenderOutput   = 'Outp',
 kPOVMsgClass_IniOptions    = 'IniO',
 kPOVMsgClass_Miscellaneous   = 'Misc'
}; //           How does this work ? --^^^^^

'Ctrl' is quite a bit different from what I'm used to using for enumeration,
and also looks a bit like a four-byte char?


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.