ATTENTIONThis FlexSim Community Forum is read-only. Please post any new questions, ideas, or discussions to our new community (we call it Answers) at https://answers.flexsim.com/. Our new Question & Answer site brings a modern, mobile-friendly interface and more focus on getting answers quickly. There are a few differences between how our new Q&A community works vs. a classic, threaded-conversation-style forum like the one below, so be sure to read our Answers Best Practices. |
flexsim.com |
#1
|
|||
|
|||
TASKTYPE_SENDMESSAGE
If 0, then the message is sent immediately. If -1, then the message is sent delayed in zero time.(Reference Flexsim Usermanual)
I am little bit curious to understand what is difference in between immediately and delayed in zero time for var4 parameter in TASKTYPE_SENDMESSAGE. Kindly suggest. Regards Shashank Trivedi |
#2
|
|||
|
|||
An immediate message gets called right away like a function call. It will happen as the next bit of code. This is like the sendmessage() command.
When a message is delayed with 0 time it will get scheduled at the end of all events currently happening at that simulation time. This is the same as using senddelayedmessage() with a delay of 0. |
The Following 4 Users Say Thank You to mark.gormley For This Useful Post: | ||
Stefan Trabut (06-06-2011) |