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.