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 change num to string in flexscript?
Good morning, everyone.
I want to ask a question. How to change num to string in flexscript? I have made a logic in flexscript. It can compiled but it cannot executed. the logic is string X = tostring(getitemtype(Car)); I have test to setlabelstr(current,"try",X) but there's nothing in "try" text label. I know that "tostring" command just for developer, but it says that it can used to flexscript too. If I use logic if and else, it can executed but take too many line on script. It was 500 line. If I use "tostring", it can be just 80 line. Thank you very much for your attention. |
#4
|
|||
|
|||
Hallo Adhyaksa Bagaskara,
Apa kabar? I'm Indonesian too. Are you really working on the simulation for monorail in Indonesia? that's cool. Looking forward for a better Jakarta |
The Following User Says Thank You to Rahel Carolina For This Useful Post: | ||
Adhyaksa Bagaskara (08-24-2015) |
Thread | Thread Starter | Forum | Replies | Last Post |
RE: Change the rank of output ports of a object using flexscript | gadirajus | Q&A | 3 | 04-21-2011 02:44 PM |
How to change FlexScript node function | luis quinones | Tips and Tricks | 1 | 09-14-2010 03:50 AM |
How to change the current MTTR by running flexscript commands | Yu Tian | Q&A | 1 | 06-24-2010 03:06 AM |
eventget(1,4) - how to get the string? | Tom David | Q&A | 1 | 11-20-2009 07:56 AM |
IF with a String | Gavin Douglas | Q&A | 1 | 07-14-2008 12:36 PM |