question

Walker huang avatar image
0 Likes"
Walker huang asked Walker huang commented

return -1 and eventlisten

2022-04-10-18-07-57-window.pngas the above picture, for the 1st highlight, what it means for " eventlisten"? for the 2d highlight, how to understand " return -1"? hopefully someone helps to clear it, thank you very much

FlexSim 22.1.0
listcodingeventlisten
· 2
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

Joerg Vogel avatar image
0 Likes"
Joerg Vogel answered Walker huang commented

From command reference

https://docs.flexsim.com/en/22.1/Reference/CodingInFlexSim/CommandReference/Commands.html#eventlisten

return -1 is a function statement preventing FlexSim from creating and dispatching a standard tasksequence.

· 1
5 |100000

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