Author Topic: static attribute member initialsation  (Read 3162 times)

kwokwong

  • EA Novice
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
static attribute member initialsation
« on: August 23, 2004, 05:59:32 am »
EA does not generate codes to initialize the static attributes, however I do provide an initial value in the (C++) model.

I got:
{
 static const int MY_INT;
..
}

But I want:
{
 static const int MY_INT = << inital value>>;
...
}

I use the latest EA 4.1 version.

Any one help?