cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Make Table reference error text more descriptive

Make Table reference error text more descriptive

[ FlexSim 18.0.3 ]

When I use the Table command to access a Global Table, and I enter in a table name that doesn't exist, the table name doesn't show in the error message. Here is the current error message text for when I try to reference a non-existent "GlobalTable2" using Table:

exception: FlexScript exception: Row 1 is not a valid row name for <no path> at /0 c: /testlink_instance i: /testlink_associated

For debugging large models, it would be more useful if the error message mentioned the table name that it could not find, like the following:

exception: FlexScript exception: Table "GlobalTable2" is not a valid table name

We use a lot of table lookups in our models, so having this kind of error message output would make it much easier to trace down the issue when a table name doesn't match. Another idea to augment this would be to include the name of the object that the erroneous Table call came from. Thanks for considering implementing these ideas.

Can't find what you're looking for? Ask the community or share your knowledge.

Submit Idea