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 NODEFUNCTION
Hello everyone!! I have a doubt about the TASKTYPE_NODEFUNCTION.
Can I receive a value or a treenode that the function called in nodefunction returns? In that case, How I can receive this value? Thank you a lot! |
#2
|
|||
|
|||
Hi Juan,
I never used the TASKTYPE_NODEFUNCTION but I think that you cannot retreive the return value of the function you call because the task type doent' define a 'return point' for the called function: it call the nodefunction and stop (like a trigger). If you want to know the returned value you need to place in some place (a node) or you can modify some parameters of other subsqeuent task to hold the returned value (changetask command) Regards, |
The Following 4 Users Say Thank You to Luciano For This Useful Post: | ||
Phil BoBo (04-16-2010) |
Thread | Thread Starter | Forum | Replies | Last Post |
about nodefunction | Dane Lee | Q&A | 10 | 03-15-2012 03:42 AM |