<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="FeedCreator 1.8" -->
<?xml-stylesheet href="https://gambas-buch.de/dwen/lib/exe/css.php?s=feed" type="text/css"?>
<rss version="2.0">
    <channel xmlns:g="http://base.google.com/ns/1.0">
        <title>GAMBAS-BOOK 3.19.5 - k10:k10.5:k10.5.2</title>
        <description></description>
        <link>https://gambas-buch.de/dwen/</link>
        <lastBuildDate>Wed, 22 Apr 2026 08:08:03 +0000</lastBuildDate>
        <generator>FeedCreator 1.8</generator>
        <image>
            <url>https://gambas-buch.de/dwen/lib/tpl/dokuwiki/images/favicon.ico</url>
            <title>GAMBAS-BOOK 3.19.5</title>
            <link>https://gambas-buch.de/dwen/</link>
        </image>
        <item>
            <title>start</title>
            <link>https://gambas-buch.de/dwen/doku.php?id=k10:k10.5:k10.5.2:start&amp;rev=1775136487&amp;do=diff</link>
            <description>10.5.2 Quit

The statement Quit[Exit Code] terminates a program immediately. All windows are closed first and then deleted.

10.5.2.1 Example 1


PUBLIC FUNCTION Calcmean(fSum AS Float, fCount AS Float) AS Float 

  IF fCount = 0 THEN 
     PRINT &quot;Division by zero in the function Calcmean&quot; 
     QUIT 
  ENDIF &#039; fCount = 0 ?

  RETURN (fSum / fCount )

END &#039; FUNCTION Calcmean(fSum AS Float, fCount AS Float) AS Float</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Thu, 02 Apr 2026 13:28:07 +0000</pubDate>
        </item>
    </channel>
</rss>
