When I enter a string expression such as "Hello " + "World"
in Assign Labels, it is not parsed correctly: the label is assigned the value
- Hello " + "World
As a workaround, I can put the expression in brackets. Then suddenly FlexSim considers it a script and shows the "Code editor" button to the right of the field, and everything works as expected with a label value of
- Hello World
Sample model: AssignLabelsConcatStrings.fsm