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
|
|||
|
|||
how to get multi-return values of UserCommand?
Hi,all
In my projects, I want that the usercommand have several return values (in other words, the number of output parameters is more than one), but I don't know how to do this? Do you know? Thanks! |
#2
|
||||
|
||||
Hi Frans,
you can save your return values in a structure (for example global arrays or a self-made node structure) and return only the pointer to this structure. greetings Carsten |
The Following 5 Users Say Thank You to Carsten Seehafer For This Useful Post: | ||
Sung Kim (08-25-2011) |
Thread | Thread Starter | Forum | Replies | Last Post |
Return 0; | shafizad | Q&A | 5 | 05-05-2011 09:32 AM |
Random stream initial values | Sucharith Vanguri | Q&A | 12 | 03-10-2011 11:52 AM |
How to set table values by using GUI | Congshi Wang | Q&A | 6 | 05-20-2010 12:52 AM |
Passing strings into a usercommand | Nico Zahn | Q&A | 6 | 01-13-2010 11:20 AM |
Create a table with random values | Michael Hartlieb | Q&A | 7 | 08-05-2009 08:09 AM |