<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://wiki.signature.net/skins/common/feed.css?270"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://wiki.signature.net/index.php?action=history&amp;feed=atom&amp;title=IB_Statements%2Fabs</id>
		<title>IB Statements/abs - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://wiki.signature.net/index.php?action=history&amp;feed=atom&amp;title=IB_Statements%2Fabs"/>
		<link rel="alternate" type="text/html" href="http://wiki.signature.net/index.php?title=IB_Statements/abs&amp;action=history"/>
		<updated>2026-04-19T00:39:36Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.16.0</generator>

	<entry>
		<id>http://wiki.signature.net/index.php?title=IB_Statements/abs&amp;diff=400&amp;oldid=prev</id>
		<title>Badge: New page: '''ABS function'''   '''Syntax:'''  ABS(numeric-argument)    '''Discussion:'''  The ABS function returns the absolute value of a numeric argument. &quot;Absolute value&quot; is the magnitude of a  n...</title>
		<link rel="alternate" type="text/html" href="http://wiki.signature.net/index.php?title=IB_Statements/abs&amp;diff=400&amp;oldid=prev"/>
				<updated>2009-05-22T08:34:12Z</updated>
		
		<summary type="html">&lt;p&gt;New page: &amp;#39;&amp;#39;&amp;#39;ABS function&amp;#39;&amp;#39;&amp;#39;   &amp;#39;&amp;#39;&amp;#39;Syntax:&amp;#39;&amp;#39;&amp;#39;  ABS(numeric-argument)    &amp;#39;&amp;#39;&amp;#39;Discussion:&amp;#39;&amp;#39;&amp;#39;  The ABS function returns the absolute value of a numeric argument. &amp;quot;Absolute value&amp;quot; is the magnitude of a  n...&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;'''ABS function''' &lt;br /&gt;
&lt;br /&gt;
'''Syntax:'''  ABS(numeric-argument)  &lt;br /&gt;
&lt;br /&gt;
'''Discussion:'''  The ABS function returns the absolute value of a numeric argument. &amp;quot;Absolute value&amp;quot; is the magnitude of a &lt;br /&gt;
numeric value, regardless of the sign of the value. Thus, the result of the ABS function will always be a positive number or zero.&lt;br /&gt;
 &lt;br /&gt;
The numeric-argument may be a numeric constant, a single-element numeric variable, a numeric array element, a numeric expression, or a numeric function. &lt;br /&gt;
&lt;br /&gt;
The intermediate result of the ABS function is stored in an accumulator with the same precision as the numeric-argument. If this intermediate result is moved to a receiving numeric variable, its precision is automatically adjusted to the defined precision of that variable. &lt;br /&gt;
 &lt;br /&gt;
'''Example 1:'''  A = ABS(B) &lt;br /&gt;
&lt;br /&gt;
In the above example, the absolute value of numeric variable B is stored in numeric variable A. &lt;br /&gt;
&lt;br /&gt;
For example, if B equals -27, then A equals 27 (the absolute value of -27). &lt;br /&gt;
 &lt;br /&gt;
'''Example 2:'''  ON ABS(X) GOTO 100,200,300,400,500 &lt;br /&gt;
&lt;br /&gt;
In this example, the integer portion of the numeric variable X is used as the control variable for the ON/GOTO statement. &lt;br /&gt;
&lt;br /&gt;
For example, if X equals -1, the absolute value equals 1, and the ON/GOTO statement will transfer the program to statement label 300.&lt;/div&gt;</summary>
		<author><name>Badge</name></author>	</entry>

	</feed>