AnswerHub Upload Issue
Our AnswerHub community currently has a bug that prevents you from attaching your model or other files to your questions. AnswerHub is aware of this issue and they are working on a fix. Until we receive their patch, you can upload your models and other files to FlexSim's file share site. Include the file name in your question so that we know which upload to reference.

question

Serge A avatar image
1 Like"
Serge A asked Matt Long answered

FlexSim crashes when a long string is returned from the Script console

How to reproduce:

// Run this from FlexSim script console:

string s = "The quick brown fox jumps over the lazy dog.";
Array substrings = [];
for (int i = 1; i <= 1000; i++) {
    substrings.push(s);
}
string verylongstring = substrings.join("\n");

// return verylongstring.length; // OK
return verylongstring; // CRASH	

This is probably a GUI issue.

FlexSim 18.1.0
bug reportgui
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

1 Answer

·
Matt Long avatar image
1 Like"
Matt Long answered

Thanks, we'll get this added to the dev list. You can also email reports like this directly to [email protected]

5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.