question

Enrique Elizaga avatar image
0 Likes"
Enrique Elizaga asked Jorge Toucet answered

what does this syntax mean?

Hi! What does this syntax mean?

loadType = te.subnodes.length == 0 ? 1 : 2;
FlexSim 22.0.0
codesyntax
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

1 Answer

Jorge Toucet avatar image
1 Like"
Jorge Toucet answered

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,

5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.