<?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: Exit Code in Software Archive</title>
    <link>https://community.intel.com/t5/Software-Archive/Exit-Code/m-p/982959#M26487</link>
    <description>Thanks. But if there is no exception handling, would the error code always be negative?  &lt;BR /&gt;Vivek</description>
    <pubDate>Tue, 05 Feb 2002 09:11:36 GMT</pubDate>
    <dc:creator>vivekbedekar</dc:creator>
    <dc:date>2002-02-05T09:11:36Z</dc:date>
    <item>
      <title>Exit Code</title>
      <link>https://community.intel.com/t5/Software-Archive/Exit-Code/m-p/982955#M26483</link>
      <description>Hi, &lt;BR /&gt;When a program terminates I get a message like 'Program .. has exited with code 0.' Could anyone please help me finding all the possible code values with which a program can exit. &lt;BR /&gt;Thanks,  &lt;BR /&gt;Vivek</description>
      <pubDate>Tue, 05 Feb 2002 06:52:55 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Exit-Code/m-p/982955#M26483</guid>
      <dc:creator>vivekbedekar</dc:creator>
      <dc:date>2002-02-05T06:52:55Z</dc:date>
    </item>
    <item>
      <title>Re: Exit Code</title>
      <link>https://community.intel.com/t5/Software-Archive/Exit-Code/m-p/982956#M26484</link>
      <description>The exit code can be anything.  0 usually means success. It's entirely up to the program to specify what the exit code is - in Fortran, you'd use CALL EXIT to set this.&lt;BR /&gt;&lt;BR /&gt;Steve</description>
      <pubDate>Tue, 05 Feb 2002 07:15:13 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Exit-Code/m-p/982956#M26484</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2002-02-05T07:15:13Z</dc:date>
    </item>
    <item>
      <title>Re: Exit Code</title>
      <link>https://community.intel.com/t5/Software-Archive/Exit-Code/m-p/982957#M26485</link>
      <description>You get this message when your code hits a STOP statement.  If you &lt;BR /&gt;want a different code you can say, for example: STOP 2000, and then &lt;BR /&gt;the message will be '...exited with code 2000'. You can, as an alternative, &lt;BR /&gt;use text:  STOP 'your message goes here'.</description>
      <pubDate>Tue, 05 Feb 2002 07:51:34 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Exit-Code/m-p/982957#M26485</guid>
      <dc:creator>Intel_C_Intel</dc:creator>
      <dc:date>2002-02-05T07:51:34Z</dc:date>
    </item>
    <item>
      <title>Re: Exit Code</title>
      <link>https://community.intel.com/t5/Software-Archive/Exit-Code/m-p/982958#M26486</link>
      <description>Actually, the STOP statement doesn't set the exit value.&lt;BR /&gt;&lt;BR /&gt;Steve</description>
      <pubDate>Tue, 05 Feb 2002 08:45:13 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Exit-Code/m-p/982958#M26486</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2002-02-05T08:45:13Z</dc:date>
    </item>
    <item>
      <title>Re: Exit Code</title>
      <link>https://community.intel.com/t5/Software-Archive/Exit-Code/m-p/982959#M26487</link>
      <description>Thanks. But if there is no exception handling, would the error code always be negative?  &lt;BR /&gt;Vivek</description>
      <pubDate>Tue, 05 Feb 2002 09:11:36 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Exit-Code/m-p/982959#M26487</guid>
      <dc:creator>vivekbedekar</dc:creator>
      <dc:date>2002-02-05T09:11:36Z</dc:date>
    </item>
    <item>
      <title>Re: Exit Code</title>
      <link>https://community.intel.com/t5/Software-Archive/Exit-Code/m-p/982960#M26488</link>
      <description>sorry, in the last message it should have been 'exit code' not error code. &lt;BR /&gt;Vivek</description>
      <pubDate>Tue, 05 Feb 2002 10:32:54 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Exit-Code/m-p/982960#M26488</guid>
      <dc:creator>vivekbedekar</dc:creator>
      <dc:date>2002-02-05T10:32:54Z</dc:date>
    </item>
    <item>
      <title>Re: Exit Code</title>
      <link>https://community.intel.com/t5/Software-Archive/Exit-Code/m-p/982961#M26489</link>
      <description>To Steve L.: Maybe we are not talking about the same thing, but from the &lt;BR /&gt;form of the message he is getting it sounds like what happens in &lt;BR /&gt;windows when it hits a stop statement.  From the on-line docs: &lt;BR /&gt; &lt;BR /&gt;STOP &lt;BR /&gt;Statement: Terminates program execution before the end of the program unit.  &lt;BR /&gt; &lt;BR /&gt;Syntax  &lt;BR /&gt; &lt;BR /&gt;STOP [stop-code]  &lt;BR /&gt; &lt;BR /&gt;stop-code  &lt;BR /&gt;(Optional) A message. It can be either of the following:  &lt;BR /&gt; &lt;BR /&gt;A scalar character constant of type default character.  &lt;BR /&gt;A string of up to six digits; leading zeros are ignored. (Fortran 95/90 and FORTRAN 77 limit digits to five.)  &lt;BR /&gt;Effect on Windows Systems &lt;BR /&gt; &lt;BR /&gt;If you specify stop-code, the effect differs depending on its form, as follows: &lt;BR /&gt; &lt;BR /&gt;If stop-code is specified as a character constant, the STOP statement writes the specified message to the standard error device and terminates program execution. The program returns a status of zero to the operating system. &lt;BR /&gt; &lt;BR /&gt;If stop-code is specified as a string of digits, the STOP statement writes the following to the standard error device and terminates program execution:  &lt;BR /&gt;  Return code stop-code &lt;BR /&gt;In QuickWin programs, the following is displayed in a message box:  &lt;BR /&gt;  Program terminated with Exit Code stop-code &lt;BR /&gt;In both cases, the program returns a status of stop-code to the operating system as an integer.</description>
      <pubDate>Wed, 06 Feb 2002 06:03:23 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Exit-Code/m-p/982961#M26489</guid>
      <dc:creator>Intel_C_Intel</dc:creator>
      <dc:date>2002-02-06T06:03:23Z</dc:date>
    </item>
    <item>
      <title>Re: Exit Code</title>
      <link>https://community.intel.com/t5/Software-Archive/Exit-Code/m-p/982962#M26490</link>
      <description>Ah, I had forgotten that STOP nnnnn would turn that into an exit status.&lt;BR /&gt;&lt;BR /&gt;I have noticed that QuickWin programs tend to have their threads exit with a status of -1, and the main program zero.  If the exit status is greater than zero, that's the time to wonder what else happened.&lt;BR /&gt;&lt;BR /&gt;Steve</description>
      <pubDate>Wed, 06 Feb 2002 06:17:27 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Exit-Code/m-p/982962#M26490</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2002-02-06T06:17:27Z</dc:date>
    </item>
  </channel>
</rss>

