Book a Demo

Author Topic: Initialized variables aren't!  (Read 3061 times)

EricP

  • EA User
  • **
  • Posts: 122
  • Karma: +0/-0
    • View Profile
Initialized variables aren't!
« on: June 25, 2010, 10:45:27 am »
In my class, I have the following attribute:
Name: qSize
Type: const unsigned char ("const" box is checked)
Scope:  private
Initial: 10

Now in the class diagram I get

- qSize: unsigned char = 10 { readOnly }

So far so good.  But when I generate code, the initialization of qSize to 10 is nowhere to be found.

EA 7.5.850
« Last Edit: June 25, 2010, 10:45:48 am by rkt-med »