Message 1 of 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
[ FlexSim 22.0.0 ]
Hi! What does this syntax mean?
loadType = te.subnodes.length == 0 ? 1 : 2;
Solved! Go to Solution.
[ FlexSim 22.0.0 ]
Hi! What does this syntax mean?
loadType = te.subnodes.length == 0 ? 1 : 2;
Solved! Go to Solution.
Hello Enrique, the length is the content for a given TaskExecuter and if it's equal to zero (empty) a value of 1 would be given, otherwise a 2. It's a compacted "If Then" condition,