<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://m204wiki.rocketsoftware.com/index.php?action=history&amp;feed=atom&amp;title=SirFact_SOUL_statements</id>
	<title>SirFact SOUL statements - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://m204wiki.rocketsoftware.com/index.php?action=history&amp;feed=atom&amp;title=SirFact_SOUL_statements"/>
	<link rel="alternate" type="text/html" href="https://m204wiki.rocketsoftware.com/index.php?title=SirFact_SOUL_statements&amp;action=history"/>
	<updated>2026-05-10T21:18:04Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.1</generator>
	<entry>
		<id>https://m204wiki.rocketsoftware.com/index.php?title=SirFact_SOUL_statements&amp;diff=102804&amp;oldid=prev</id>
		<title>ELowell at 16:22, 24 April 2017</title>
		<link rel="alternate" type="text/html" href="https://m204wiki.rocketsoftware.com/index.php?title=SirFact_SOUL_statements&amp;diff=102804&amp;oldid=prev"/>
		<updated>2017-04-24T16:22:07Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 16:22, 24 April 2017&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l2&quot;&gt;Line 2:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 2:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;var class=&amp;quot;product&amp;quot;&amp;gt;SirFact&amp;lt;/var&amp;gt; users.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;var class=&amp;quot;product&amp;quot;&amp;gt;SirFact&amp;lt;/var&amp;gt; users.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;===&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;The &lt;/del&gt;Assert statement===&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;===Assert statement===&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The &amp;lt;var&amp;gt;[[Assert statement|Assert]]&amp;lt;/var&amp;gt; statement tests an assumption, causes request cancellation&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The &amp;lt;var&amp;gt;[[Assert statement|Assert]]&amp;lt;/var&amp;gt; statement tests an assumption, causes request cancellation&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;if the assumption is incorrect, and&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;if the assumption is incorrect, and&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l10&quot;&gt;Line 10:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 10:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;contains a wide variety of information about the program environment at the time of the error.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;contains a wide variety of information about the program environment at the time of the error.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;===&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;The &lt;/del&gt;Trace statement===&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;===Trace statement===&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The &amp;lt;var&amp;gt;[[Trace statement|Trace]]&amp;lt;/var&amp;gt; statement returns the same output as&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The &amp;lt;var&amp;gt;[[Trace statement|Trace]]&amp;lt;/var&amp;gt; statement returns the same output as&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;a &amp;lt;var&amp;gt;Print&amp;lt;/var&amp;gt; or &amp;lt;var&amp;gt;Audit&amp;lt;/var&amp;gt; statement,&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;a &amp;lt;var&amp;gt;Print&amp;lt;/var&amp;gt; or &amp;lt;var&amp;gt;Audit&amp;lt;/var&amp;gt; statement,&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;but it lets you store that output in a &amp;quot;wrap-around&amp;quot; table in CCATEMP that you can examine with SirFact.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;but it lets you store that output in a &amp;quot;wrap-around&amp;quot; table in CCATEMP that you can examine with SirFact.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;===&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;The &lt;/del&gt;SirFact statement===&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;===SirFact statement===&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;The SirFact statement temporarily disables SirFact $function error trapping for a specific user. &lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt; &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The &amp;lt;var&amp;gt;[[SIRFACT command#cancel|SIRFACT CANCEL]]&amp;lt;/var&amp;gt; command makes it possible&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The &amp;lt;var&amp;gt;[[SIRFACT command#cancel|SIRFACT CANCEL]]&amp;lt;/var&amp;gt; command makes it possible&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;to trap return codes from $functions that are indicative of programming&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;to trap return codes from $functions that are indicative of programming&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;errors or severe environmental problems. For simplicity and consistency,&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;errors or severe environmental problems. For simplicity and consistency,&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;the scope of &amp;lt;var&amp;gt;SIRFACT CANCEL&amp;lt;/var&amp;gt; for a $function is global&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;, that is, &lt;/del&gt;it&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;the scope of &amp;lt;var&amp;gt;SIRFACT CANCEL&amp;lt;/var&amp;gt; for a $function is global&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;: &lt;/ins&gt;it&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;applies to every program running on every thread in the Online.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;applies to every program running on every thread in the Online.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;This should not be a problem&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;, as once again, &lt;/del&gt;&amp;lt;var&amp;gt;SIRFACT CANCEL&amp;lt;/var&amp;gt; should&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;This should not be a problem &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;because &lt;/ins&gt;&amp;lt;var&amp;gt;SIRFACT CANCEL&amp;lt;/var&amp;gt; should&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;only be used to trap &amp;lt;b&amp;gt;severe&amp;lt;/b&amp;gt; problems.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;only be used to trap &amp;lt;b&amp;gt;severe&amp;lt;/b&amp;gt; problems.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>ELowell</name></author>
	</entry>
	<entry>
		<id>https://m204wiki.rocketsoftware.com/index.php?title=SirFact_SOUL_statements&amp;diff=83242&amp;oldid=prev</id>
		<title>JAL: link repair</title>
		<link rel="alternate" type="text/html" href="https://m204wiki.rocketsoftware.com/index.php?title=SirFact_SOUL_statements&amp;diff=83242&amp;oldid=prev"/>
		<updated>2016-03-14T15:40:01Z</updated>

		<summary type="html">&lt;p&gt;link repair&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 15:40, 14 March 2016&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l77&quot;&gt;Line 77:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 77:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;li&amp;gt;The &amp;lt;code&amp;gt;SirFact Off&amp;lt;/code&amp;gt; setting also disables SirFact &amp;lt;var&amp;gt;FRN&amp;lt;/var&amp;gt; error trapping&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;li&amp;gt;The &amp;lt;code&amp;gt;SirFact Off&amp;lt;/code&amp;gt; setting also disables SirFact &amp;lt;var&amp;gt;FRN&amp;lt;/var&amp;gt; error trapping&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;set by the X&#039;08&#039;, X&#039;10&#039;, or X&#039;20&#039; bits in the &amp;lt;var&amp;gt;[[&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;System &lt;/del&gt;parameters#factprm|SIRFACT]]&amp;lt;/var&amp;gt; system parameter.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;set by the X&#039;08&#039;, X&#039;10&#039;, or X&#039;20&#039; bits in the &amp;lt;var&amp;gt;[[&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;SirFact system &lt;/ins&gt;parameters#factprm|SIRFACT]]&amp;lt;/var&amp;gt; system parameter.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;This means that if &amp;lt;var&amp;gt;SIRFACT&amp;lt;/var&amp;gt; &amp;lt;var&amp;gt;FRN&amp;lt;/var&amp;gt; error trapping is turned on, but an &amp;lt;var&amp;gt;FRN&amp;lt;/var&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;This means that if &amp;lt;var&amp;gt;SIRFACT&amp;lt;/var&amp;gt; &amp;lt;var&amp;gt;FRN&amp;lt;/var&amp;gt; error trapping is turned on, but an &amp;lt;var&amp;gt;FRN&amp;lt;/var&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;statement, by design, sometimes refers to a non-existent record, the &amp;lt;var&amp;gt;FRN&amp;lt;/var&amp;gt; could be coded as follows:&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;statement, by design, sometimes refers to a non-existent record, the &amp;lt;var&amp;gt;FRN&amp;lt;/var&amp;gt; could be coded as follows:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>JAL</name></author>
	</entry>
	<entry>
		<id>https://m204wiki.rocketsoftware.com/index.php?title=SirFact_SOUL_statements&amp;diff=83234&amp;oldid=prev</id>
		<title>JAL: link repair</title>
		<link rel="alternate" type="text/html" href="https://m204wiki.rocketsoftware.com/index.php?title=SirFact_SOUL_statements&amp;diff=83234&amp;oldid=prev"/>
		<updated>2016-03-14T15:30:05Z</updated>

		<summary type="html">&lt;p&gt;link repair&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 15:30, 14 March 2016&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l16&quot;&gt;Line 16:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 16:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;===The SirFact statement===&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;===The SirFact statement===&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The &amp;lt;var&amp;gt;[[&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;The &lt;/del&gt;SIRFACT command#cancel|SIRFACT CANCEL]]&amp;lt;/var&amp;gt; command makes it possible&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The &amp;lt;var&amp;gt;[[SIRFACT command#cancel|SIRFACT CANCEL]]&amp;lt;/var&amp;gt; command makes it possible&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;to trap return codes from $functions that are indicative of programming&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;to trap return codes from $functions that are indicative of programming&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;errors or severe environmental problems. For simplicity and consistency,&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;errors or severe environmental problems. For simplicity and consistency,&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>JAL</name></author>
	</entry>
	<entry>
		<id>https://m204wiki.rocketsoftware.com/index.php?title=SirFact_SOUL_statements&amp;diff=83024&amp;oldid=prev</id>
		<title>Admin: 1 revision: not all SirFact pages</title>
		<link rel="alternate" type="text/html" href="https://m204wiki.rocketsoftware.com/index.php?title=SirFact_SOUL_statements&amp;diff=83024&amp;oldid=prev"/>
		<updated>2016-03-02T00:35:41Z</updated>

		<summary type="html">&lt;p&gt;1 revision: not all SirFact pages&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 00:35, 2 March 2016&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
	<entry>
		<id>https://m204wiki.rocketsoftware.com/index.php?title=SirFact_SOUL_statements&amp;diff=83023&amp;oldid=prev</id>
		<title>JAL: add link</title>
		<link rel="alternate" type="text/html" href="https://m204wiki.rocketsoftware.com/index.php?title=SirFact_SOUL_statements&amp;diff=83023&amp;oldid=prev"/>
		<updated>2016-03-01T20:28:24Z</updated>

		<summary type="html">&lt;p&gt;add link&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;The [[SOUL]] statements discussed on this page can be of great value to&lt;br /&gt;
&amp;lt;var class=&amp;quot;product&amp;quot;&amp;gt;SirFact&amp;lt;/var&amp;gt; users.&lt;br /&gt;
&lt;br /&gt;
===The Assert statement===&lt;br /&gt;
The &amp;lt;var&amp;gt;[[Assert statement|Assert]]&amp;lt;/var&amp;gt; statement tests an assumption, causes request cancellation&lt;br /&gt;
if the assumption is incorrect, and&lt;br /&gt;
indicates the procedure and line number containing the failing &amp;lt;var&amp;gt;Assert&amp;lt;/var&amp;gt;.&lt;br /&gt;
In the presence of appropriate &amp;lt;var&amp;gt;[[SIRFACT command#SIRFACT MAXDUMP|SIRFACT MAXDUMP]]&amp;lt;/var&amp;gt; and&lt;br /&gt;
&amp;lt;var&amp;gt;[[SIRFACT command#SIRFACT DUMP|SIRFACT DUMP]]&amp;lt;/var&amp;gt; settings, it causes the creation of a &amp;lt;var class=&amp;quot;product&amp;quot;&amp;gt;SirFact&amp;lt;/var&amp;gt; dump that&lt;br /&gt;
contains a wide variety of information about the program environment at the time of the error.&lt;br /&gt;
&lt;br /&gt;
===The Trace statement===&lt;br /&gt;
The &amp;lt;var&amp;gt;[[Trace statement|Trace]]&amp;lt;/var&amp;gt; statement returns the same output as&lt;br /&gt;
a &amp;lt;var&amp;gt;Print&amp;lt;/var&amp;gt; or &amp;lt;var&amp;gt;Audit&amp;lt;/var&amp;gt; statement,&lt;br /&gt;
but it lets you store that output in a &amp;quot;wrap-around&amp;quot; table in CCATEMP that you can examine with SirFact.&lt;br /&gt;
&lt;br /&gt;
===The SirFact statement===&lt;br /&gt;
The &amp;lt;var&amp;gt;[[The SIRFACT command#cancel|SIRFACT CANCEL]]&amp;lt;/var&amp;gt; command makes it possible&lt;br /&gt;
to trap return codes from $functions that are indicative of programming&lt;br /&gt;
errors or severe environmental problems. For simplicity and consistency,&lt;br /&gt;
the scope of &amp;lt;var&amp;gt;SIRFACT CANCEL&amp;lt;/var&amp;gt; for a $function is global, that is, it&lt;br /&gt;
applies to every program running on every thread in the Online.&lt;br /&gt;
This should not be a problem, as once again, &amp;lt;var&amp;gt;SIRFACT CANCEL&amp;lt;/var&amp;gt; should&lt;br /&gt;
only be used to trap &amp;lt;b&amp;gt;severe&amp;lt;/b&amp;gt; problems.&lt;br /&gt;
&lt;br /&gt;
However, even the most unlikely return codes might be handled by&lt;br /&gt;
&amp;lt;var class=&amp;quot;product&amp;quot;&amp;gt;SOUL&amp;lt;/var&amp;gt; code in certain odd instances.&lt;br /&gt;
For these cases, the &amp;lt;b&amp;gt;&amp;lt;var&amp;gt;SirFact&amp;lt;/var&amp;gt;&amp;lt;/b&amp;gt; SOUL&lt;br /&gt;
statement is provided to temporarily disable &amp;lt;var class=&amp;quot;product&amp;quot;&amp;gt;SirFact&amp;lt;/var&amp;gt; error trapping for &amp;lt;b&amp;gt;all&amp;lt;/b&amp;gt; $functions or &amp;lt;var&amp;gt;FRN&amp;lt;/var&amp;gt; errors.&lt;br /&gt;
&lt;br /&gt;
====Syntax====&lt;br /&gt;
&amp;lt;p class=&amp;quot;syntax&amp;quot;&amp;gt;SirFact On | Off &amp;lt;/p&amp;gt;&lt;br /&gt;
Where:&lt;br /&gt;
&amp;lt;table class=&amp;quot;thJustBold&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;th nowrap&amp;gt;On | Off&amp;lt;/th&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt;&amp;lt;var&amp;gt;Off&amp;lt;/var&amp;gt; indicates that &amp;lt;var class=&amp;quot;product&amp;quot;&amp;gt;SirFact&amp;lt;/var&amp;gt; $function error trapping is to be temporarily disabled for the current thread. &amp;lt;var&amp;gt;On&amp;lt;/var&amp;gt; indicates that it is to be reenabled.&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
If no &amp;lt;var&amp;gt;SirFact&amp;lt;/var&amp;gt; statement is present in a &amp;lt;var class=&amp;quot;product&amp;quot;&amp;gt;SOUL&amp;lt;/var&amp;gt; program,&lt;br /&gt;
&amp;lt;var class=&amp;quot;product&amp;quot;&amp;gt;SirFact&amp;lt;/var&amp;gt; $function error trapping is always enabled.&lt;br /&gt;
&lt;br /&gt;
The end of a &amp;lt;var class=&amp;quot;product&amp;quot;&amp;gt;SOUL&amp;lt;/var&amp;gt; request automatically re-enables &amp;lt;var class=&amp;quot;product&amp;quot;&amp;gt;SirFact&amp;lt;/var&amp;gt;&lt;br /&gt;
$function error trapping.&lt;br /&gt;
That is, a &amp;lt;code&amp;gt;Sirfact Off&amp;lt;/code&amp;gt; only applies to the program in which it is executed.&lt;br /&gt;
&lt;br /&gt;
====Usage====&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;The &amp;lt;code&amp;gt;SirFact Off&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;SirFact On&amp;lt;/code&amp;gt; statements are evaluated &amp;amp;mdash; they are &amp;lt;b&amp;gt;not&amp;lt;/b&amp;gt; compiler directives.&lt;br /&gt;
This means that in the following chunk of code,&lt;br /&gt;
the &amp;lt;code&amp;gt;$SETG&amp;lt;/code&amp;gt; will be executed with &amp;lt;var class=&amp;quot;product&amp;quot;&amp;gt;SirFact&amp;lt;/var&amp;gt; error trapping disabled&lt;br /&gt;
if &amp;lt;code&amp;gt;%RECOVER&amp;lt;/code&amp;gt; is non-zero; otherwise, it will run with &amp;lt;var class=&amp;quot;product&amp;quot;&amp;gt;SirFact&amp;lt;/var&amp;gt; error&lt;br /&gt;
trapping enabled.&lt;br /&gt;
&amp;lt;p class=&amp;quot;code&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;IF %RECOVER THEN&lt;br /&gt;
   SIRFACT OFF&lt;br /&gt;
END IF&lt;br /&gt;
%RC = $SETG(&amp;#039;NEXTPROC&amp;#039;, &amp;#039;XP.MAIN-MENU&amp;#039;)&lt;br /&gt;
IF %RECOVER THEN&lt;br /&gt;
   SIRFACT ON&lt;br /&gt;
END IF&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;There is no harm in using &amp;lt;code&amp;gt;SIRFACT ON&amp;lt;/code&amp;gt; if &amp;lt;var class=&amp;quot;product&amp;quot;&amp;gt;SirFact&amp;lt;/var&amp;gt; error checking is&lt;br /&gt;
already enabled, and there is no harm in using &amp;lt;code&amp;gt;SIRFACT OFF&amp;lt;/code&amp;gt; if &amp;lt;var class=&amp;quot;product&amp;quot;&amp;gt;SirFact&amp;lt;/var&amp;gt; error checking&lt;br /&gt;
is already disabled.&lt;br /&gt;
The previous example could just has easily have been coded:&lt;br /&gt;
&amp;lt;p class=&amp;quot;code&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;IF %RECOVER THEN&lt;br /&gt;
   SIRFACT OFF&lt;br /&gt;
END IF&lt;br /&gt;
%RC = $SETG(&amp;#039;NEXTPROC&amp;#039;, &amp;#039;XP.MAIN-MENU&amp;#039;)&lt;br /&gt;
SIRFACT ON&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
Also valid (but pointless) is this:&lt;br /&gt;
&amp;lt;p class=&amp;quot;code&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;SIRFACT OFF&lt;br /&gt;
SIRFACT OFF&lt;br /&gt;
%RC = $SETG(&amp;#039;NEXTPROC&amp;#039;, &amp;#039;XP.MAIN-MENU&amp;#039;)&lt;br /&gt;
SIRFACT ON&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;The &amp;lt;code&amp;gt;SirFact Off&amp;lt;/code&amp;gt; setting also disables SirFact &amp;lt;var&amp;gt;FRN&amp;lt;/var&amp;gt; error trapping&lt;br /&gt;
set by the X&amp;#039;08&amp;#039;, X&amp;#039;10&amp;#039;, or X&amp;#039;20&amp;#039; bits in the &amp;lt;var&amp;gt;[[System parameters#factprm|SIRFACT]]&amp;lt;/var&amp;gt; system parameter.&lt;br /&gt;
This means that if &amp;lt;var&amp;gt;SIRFACT&amp;lt;/var&amp;gt; &amp;lt;var&amp;gt;FRN&amp;lt;/var&amp;gt; error trapping is turned on, but an &amp;lt;var&amp;gt;FRN&amp;lt;/var&amp;gt;&lt;br /&gt;
statement, by design, sometimes refers to a non-existent record, the &amp;lt;var&amp;gt;FRN&amp;lt;/var&amp;gt; could be coded as follows:&lt;br /&gt;
&amp;lt;p class=&amp;quot;code&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;SIRFACT OFF&lt;br /&gt;
%HAVEREC = 0&lt;br /&gt;
IN FILE ODD FRN %RECNO&lt;br /&gt;
   %HAVEREC = 1&lt;br /&gt;
END FOR&lt;br /&gt;
SIRFACT ON&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;It is good programming practice to minimize the number&lt;br /&gt;
of &amp;lt;var class=&amp;quot;product&amp;quot;&amp;gt;SOUL&amp;lt;/var&amp;gt; statements inside a &amp;lt;code&amp;gt;SIRFACT OFF/SIRFACT ON&amp;lt;/code&amp;gt;&lt;br /&gt;
bracket to prevent accidentally leaving &amp;lt;var class=&amp;quot;product&amp;quot;&amp;gt;SirFact&amp;lt;/var&amp;gt; $function error checking disabled.&lt;br /&gt;
It is even better programming practice to avoid the&lt;br /&gt;
use of &amp;lt;code&amp;gt;SirFact Off&amp;lt;/code&amp;gt; altogether.&lt;br /&gt;
&amp;lt;p&amp;gt;&lt;br /&gt;
For example, suppose that a &amp;lt;var&amp;gt;SIRFACT CANCEL&amp;lt;/var&amp;gt; has been set up to cancel requests on&lt;br /&gt;
a return code of &amp;lt;code&amp;gt;-6&amp;lt;/code&amp;gt; from &amp;lt;var&amp;gt;[[$ListDel]]&amp;lt;/var&amp;gt;.&lt;br /&gt;
And suppose a procedure has the following chunk of code: &amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;code&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;%LIST = $LISTRST(&amp;#039;SAVEDLIST&amp;#039;)&lt;br /&gt;
%RC   = $LISTDEL(%LIST)&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;&lt;br /&gt;
Suppose sometimes this code is run where there is no &amp;lt;var&amp;gt;$ListSav&amp;lt;/var&amp;gt;&lt;br /&gt;
$list under the name &amp;lt;code&amp;gt;SAVEDLIST&amp;lt;/code&amp;gt;.&lt;br /&gt;
Before &amp;lt;var class=&amp;quot;product&amp;quot;&amp;gt;SirFact&amp;lt;/var&amp;gt;, the&lt;br /&gt;
&amp;lt;var&amp;gt;$ListRst&amp;lt;/var&amp;gt; would simply return a &amp;lt;code&amp;gt;-14&amp;lt;/code&amp;gt;, indicating that no $list is saved under the indicated name.&lt;br /&gt;
When the &amp;lt;code&amp;gt;-14&amp;lt;/code&amp;gt; is passed to &amp;lt;var&amp;gt;$ListDel&amp;lt;/var&amp;gt;,&lt;br /&gt;
&amp;lt;var&amp;gt;$ListDel&amp;lt;/var&amp;gt; would return a &amp;lt;code&amp;gt;-6&amp;lt;/code&amp;gt;, indicating that &amp;lt;code&amp;gt;-14&amp;lt;/code&amp;gt; is an invalid $list identifier (all $list identifiers are positive).&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;&lt;br /&gt;
Probably this would not matter: since the ostensible purpose of this code is to&lt;br /&gt;
make the name &amp;lt;code&amp;gt;SAVEDLIST&amp;lt;/code&amp;gt; available to save another $list,&lt;br /&gt;
the &amp;lt;var&amp;gt;$ListDel&amp;lt;/var&amp;gt; &amp;quot;failure&amp;quot; is irrelevant.&lt;br /&gt;
Unfortunately, with the &amp;lt;code&amp;gt;SIRFACT CAN $LISTDEL -6&amp;lt;/code&amp;gt; active, this code would often cause a request cancellation. &amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;&lt;br /&gt;
One solution to this problem would be to simply stop trapping&lt;br /&gt;
return code &amp;lt;code&amp;gt;-6&amp;lt;/code&amp;gt; from &amp;lt;var&amp;gt;$ListDel&amp;lt;/var&amp;gt;.&lt;br /&gt;
Unfortunately, this would mean that&lt;br /&gt;
the benefits of &amp;lt;var class=&amp;quot;product&amp;quot;&amp;gt;SirFact&amp;lt;/var&amp;gt; error trapping would be lost for a mis-coded &amp;lt;var&amp;gt;$ListDel&amp;lt;/var&amp;gt;. &amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;&lt;br /&gt;
Another option is to change the above code to: &amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;code&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;%LIST = $LISTRST(&amp;#039;SAVEDLIST&amp;#039;)&lt;br /&gt;
SIRFACT OFF&lt;br /&gt;
%RC   = $LISTDEL(%LIST)&lt;br /&gt;
SIRFACT ON&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;&lt;br /&gt;
This gets around the problem, but it is a bit sloppy and does not really&lt;br /&gt;
make clear what is going on.&lt;br /&gt;
A &amp;quot;cleaner&amp;quot; solution is to change the code to: &amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;code&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;%LIST = $LISTRST(&amp;#039;SAVEDLIST&amp;#039;)&lt;br /&gt;
IF %LIST GT 0&lt;br /&gt;
   %RC   = $LISTDEL(%LIST)&lt;br /&gt;
END IF&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;&lt;br /&gt;
This solution actually uses slightly less QTBL space, uses no more CPU, and makes the code clearer. &amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;Ultimately, while the &amp;lt;var&amp;gt;SirFact Off&amp;lt;/var&amp;gt; statement can be very useful, it should be used with discretion. &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
{{Template: SirFact topic list}}&lt;br /&gt;
&lt;br /&gt;
[[Category: SirFact]]&lt;/div&gt;</summary>
		<author><name>JAL</name></author>
	</entry>
</feed>