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
|
||||
|
||||
eventget(1,4) - how to get the string?
Does anyone know how I can transform the return value of eventget(1,4) into the string, which was passed at the command createvent() ?
I found the commands eventdata() but I did not get it working. I tried in the Script Window different things like: eventget(1,4) which just returns a value. eventdata(eventget(1,4)) which returns 0. How can I get the string (e.g. createpart)? What I am trying to do is to make my own profileevents() user command, which is working beside this string. One other question: If there is a delayed message in the events (eventcode 19) the structure of the parameters is different. How can I get the data (msgparam 1, etc.)?
__________________
tom the (A)tom: "We have solved our problems ... now we have to fight the solutions." |
#2
|
|||
|
|||
Tom I think we lost this function moving from version3 to 4 - the other eventget options work okay - it's just the one for finding data that is broken.
|
Thread | Thread Starter | Forum | Replies | Last Post |
String as label of a flowitem | Matthias Hofmann | Q&A | 2 | 09-18-2008 11:15 AM |
IF with a String | Gavin Douglas | Q&A | 1 | 07-14-2008 12:36 PM |