<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
  <channel>
    <title>'Help with an Exit code in Delphi' Thread RSS Feed</title>
    <link>http://www.programmersheaven.com/</link>
    <description>Contains the latest posts from the thread 'Help with an Exit code in Delphi' posted on the 'Delphi and Kylix' forum at Programmer's Heaven.</description>
    <language>en</language>
    <copyright>Copyright 2013 Programmers Heaven</copyright>
    <pubDate>Sat, 25 May 2013 03:46:08 -0700</pubDate>
    <lastBuildDate>Sat, 25 May 2013 03:46:08 -0700</lastBuildDate>
    <generator>Argotic Syndication Framework 2007.3.0.1, http://www.codeplex.com/Argotic</generator>
    <docs>http://www.rssboard.org/rss-specification</docs>
    <ttl>360</ttl>
    <image>
      <url>http://www.programmersheaven.com/images/ph.gif</url>
      <title>Programmers Heaven</title>
      <link>http://www.programmersheaven.com/</link>
      <width>88</width>
      <height>31</height>
    </image>
    <item>
      <title>Help with an Exit code in Delphi</title>
      <link>http://www.programmersheaven.com/mb/delphikylix/427084/427084/help-with-an-exit-code-in-delphi/</link>
      <description>Hi, I'm making a very simple program with check boxes and I want to the program to instantly close when the right combination of checkboxes are selected.&lt;br /&gt;
&lt;br /&gt;
I tried using a code like that, using the property "checked"...&lt;br /&gt;
&lt;br /&gt;
If Checkbox1.Checked := True and Checkbox5.Checked := True and Checkbox10.Checked := True and Checkbox12.Checked := True and Checkbox15.Checked := True then Exit;&lt;br /&gt;
&lt;br /&gt;
But it's not working... It reject all the coding...&lt;br /&gt;
&lt;br /&gt;
Please help me...&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/delphikylix/427084/427084/help-with-an-exit-code-in-delphi/</guid>
      <pubDate>Sun, 29 Jan 2012 10:55:45 -0700</pubDate>
      <category>Delphi and Kylix</category>
    </item>
    <item>
      <title>Re: Help with an Exit code in Delphi</title>
      <link>http://www.programmersheaven.com/mb/delphikylix/427084/427085/re-help-with-an-exit-code-in-delphi/#427085</link>
      <description>Sorry for double topic, they said an error had happenned so I tried again...&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/delphikylix/427084/427085/re-help-with-an-exit-code-in-delphi/#427085</guid>
      <pubDate>Sun, 29 Jan 2012 10:59:49 -0700</pubDate>
      <category>Delphi and Kylix</category>
    </item>
    <item>
      <title>Re: Help with an Exit code in Delphi</title>
      <link>http://www.programmersheaven.com/mb/delphikylix/427084/427664/re-help-with-an-exit-code-in-delphi/#427664</link>
      <description>&lt;br /&gt;
well, here are a few words about Exit, from the Delphi help:&lt;br /&gt;
"Exits from the current procedure.&lt;br /&gt;
...&lt;br /&gt;
If the current procedure is the main program, Exit causes the program to terminate."&lt;br /&gt;
&lt;br /&gt;
so in order to close the program, you should use the "Close" command,&lt;br /&gt;
or use "Application.Terminate".&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
and to make your "If" a little better:&lt;br /&gt;
If (Checkbox1.Checked) and (Checkbox5.Checked) and (Checkbox10.Checked) and (Checkbox12.Checked) and (Checkbox15.Checked) then Close;&lt;br /&gt;
&lt;br /&gt;
or "then Application.Terminate;".&lt;br /&gt;
&lt;br /&gt;
you dont have to ask if it's True&lt;br /&gt;
&lt;br /&gt;
(sorry for my broken english)&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/delphikylix/427084/427664/re-help-with-an-exit-code-in-delphi/#427664</guid>
      <pubDate>Tue, 28 Feb 2012 09:40:48 -0700</pubDate>
      <category>Delphi and Kylix</category>
    </item>
    <item>
      <title>Help with an Exit code in Delphi</title>
      <link>http://www.programmersheaven.com/mb/delphikylix/427084/428095/help-with-an-exit-code-in-delphi/#428095</link>
      <description>The Exit code variable is the code returned by a terminating application to the invoker.The exit code value will be displayed in a dialog box if the error addr variable is non 0 when the program terminates. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Amira Foods (India) Ltd - &lt;a href="http://www.linkedin.com/in/karanchanana"&gt;Karan Chanana&lt;/a&gt;&lt;br /&gt;
 &lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/delphikylix/427084/428095/help-with-an-exit-code-in-delphi/#428095</guid>
      <pubDate>Mon, 02 Apr 2012 03:43:40 -0700</pubDate>
      <category>Delphi and Kylix</category>
    </item>
  </channel>
</rss>