<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Max/min values of int in FlexSim Forum</title>
    <link>https://forums.autodesk.com/t5/flexsim-forum/max-min-values-of-int/m-p/13552981#M57178</link>
    <description>&lt;P&gt;Thanks, this is what I was looking for!&lt;/P&gt;</description>
    <pubDate>Fri, 31 Aug 2018 05:13:05 GMT</pubDate>
    <dc:creator>jeremy_r</dc:creator>
    <dc:date>2018-08-31T05:13:05Z</dc:date>
    <item>
      <title>Max/min values of int</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/max-min-values-of-int/m-p/13552979#M57176</link>
      <description>&lt;P&gt;&lt;I&gt;[ FlexSim 18.2.0 ]&lt;/I&gt;&lt;/P&gt;&lt;P&gt;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.&lt;BR /&gt;&lt;BR /&gt;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)?&lt;/P&gt;</description>
      <pubDate>Fri, 31 Aug 2018 04:17:08 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/max-min-values-of-int/m-p/13552979#M57176</guid>
      <dc:creator>jeremy_r</dc:creator>
      <dc:date>2018-08-31T04:17:08Z</dc:date>
    </item>
    <item>
      <title>Re: Max/min values of int</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/max-min-values-of-int/m-p/13552980#M57177</link>
      <description>&lt;P&gt;INT_MAX is a global fsmacro. You can look yourself in the main tree&lt;/P&gt;&lt;P&gt;project + exec + globals + fsmacros&lt;/P&gt;</description>
      <pubDate>Fri, 31 Aug 2018 05:07:36 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/max-min-values-of-int/m-p/13552980#M57177</guid>
      <dc:creator>joerg_vogel_HsH</dc:creator>
      <dc:date>2018-08-31T05:07:36Z</dc:date>
    </item>
    <item>
      <title>Re: Max/min values of int</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/max-min-values-of-int/m-p/13552981#M57178</link>
      <description>&lt;P&gt;Thanks, this is what I was looking for!&lt;/P&gt;</description>
      <pubDate>Fri, 31 Aug 2018 05:13:05 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/max-min-values-of-int/m-p/13552981#M57178</guid>
      <dc:creator>jeremy_r</dc:creator>
      <dc:date>2018-08-31T05:13:05Z</dc:date>
    </item>
  </channel>
</rss>

