- Joined
- Sep 9, 2007
- Messages
- 6,759
Hey all.
I have a little question.
I am having a struct A.
Before this struct, I declare a private global constant (PGC).
Inside the struct I set a member to the PGC,
but its 0. How does that come, if the PGC is not 0?
This (changed) doesn't work in my struct... Its always after creation 0. But not if I set during creation.
I have a little question.
I am having a struct A.
Before this struct, I declare a private global constant (PGC).
Inside the struct I set a member to the PGC,
but its 0. How does that come, if the PGC is not 0?
JASS:
globals
private constant real EXAMPLECONSTANT = 128.
endglobals
struct ExampleStruct
real MEMBER = EXAMPLECONSTANT
endstruct
This (changed) doesn't work in my struct... Its always after creation 0. But not if I set during creation.