In one particular application, I would like to check the value I want to assign to ensure if falls within the appropriate range for an int, so that it doesn't over or underflow.
While I can see that these values are defined in the documentation (-2147483647 and 2147483647), is there a better way to obtain this value in my code than hardcoding it (or defining it in a global macro)? For example, is there some function like int.max that will return the maximum value an int can hold (such that if the max/min values were to change in a later version of FlexSim, these would contain the new values)?