<div dir="ltr">Hi everyone,<div><br></div><div>I have a variable that has &amp;optional &amp;default attributes. </div><div>I want the &amp;default attribute to have a value of an enum.</div><div><br></div><div>So if the enum is : type color: enum { Red, White, Blue, };</div><div>c: color &amp;default=Red;</div><div><br></div><div>Does not work..</div><div><br></div><div>Any ideas on the correct syntax ?</div><div><br></div><div>Thank you</div><div>B</div></div>