TDS Initialization sequence #179
Answered
by
cuihantao
jinningwang
asked this question in
Internal Design
Replies: 1 comment 1 reply
-
ConstService and VarService are initialized at the same time, based on their sequence of definition.
In this case, If A uses B, B will appear as 0 in A. It is the same case even if both A and B are ConstService.
|
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
jinningwang
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi Hantao,
I have two questions about model initialization.
ConstService
is ahead ofVarService
, right?A = ConstService(...)
and aB = VarService(...)
. IfA
callsB
ahead of the definition ofB
, thenB
will appear as 0 inA
?Regards,
Jinning
Beta Was this translation helpful? Give feedback.
All reactions