<?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=%24VALIDATE_NUMERIC_DATA</id>
	<title>$VALIDATE NUMERIC DATA - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://m204wiki.rocketsoftware.com/index.php?action=history&amp;feed=atom&amp;title=%24VALIDATE_NUMERIC_DATA"/>
	<link rel="alternate" type="text/html" href="https://m204wiki.rocketsoftware.com/index.php?title=$VALIDATE_NUMERIC_DATA&amp;action=history"/>
	<updated>2026-04-10T01:23:44Z</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=$VALIDATE_NUMERIC_DATA&amp;diff=58516&amp;oldid=prev</id>
		<title>Alex: Automatically generated page update</title>
		<link rel="alternate" type="text/html" href="https://m204wiki.rocketsoftware.com/index.php?title=$VALIDATE_NUMERIC_DATA&amp;diff=58516&amp;oldid=prev"/>
		<updated>2013-04-20T13:18:34Z</updated>

		<summary type="html">&lt;p&gt;Automatically generated page update&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{DISPLAYTITLE:$VALIDATE_NUMERIC_DATA}}&lt;br /&gt;
&amp;lt;b&amp;gt;Function&amp;lt;/b&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;Detects invalid numeric data when data is read into an image from an external source. &amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;b&amp;gt;Syntax&amp;lt;/b&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;code&amp;quot;&amp;gt;$VALIDATE_NUMERIC_DATA(&amp;#039;%variable&amp;#039; &lt;br /&gt;
&lt;br /&gt;
  | &amp;#039;%imagename:itemname&amp;#039;, s1, s2, s3, s4, s5)&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;Where:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;%variable is a string expression enclosed in single quotation marks that resolves to the name of an item in an image. The value of this string is the standard format for referencing an image item: %imagename:itemname, which is also enclosed in single quotation marks.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;If the argument identifies an array item, up to five subscripts can be used, s1-s5. If an array is not specified, these arguments are ignored. On an array, as many of these parameters are used as the number of dimensions on the array. If any needed subscript parameter is not specified, then a value of 1 is used.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;b&amp;gt;Example&amp;lt;/b&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;If %imagename:itemname identifies an array, then you must identify the particular array element to validate. To do so, note the number of subscripts of the array, and specify the same number of optional subscript arguments (the s1-s5 arguments). For example, to validate %IMAGE:ARRAY(1,2), code &amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;code&amp;quot;&amp;gt;%RC=$VALIDATE_NUMERIC_DATA(&amp;#039;%IMAGE:ARRAY&amp;#039;,1,2)&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;b&amp;gt;Usage&amp;lt;/b&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;The image item whose name is passed is looked up in the image definition. &amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;If the item is a numeric type, the contents of the data area of the image are checked to see if the data that corresponds to the item is in the correct format. &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;If the item is an array, the element identified by the subscripts is tested.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;The numeric return code values have the following meanings:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;table&amp;gt;&lt;br /&gt;
&amp;lt;tr class=&amp;quot;head&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;th&amp;gt;Return code &amp;lt;/th&amp;gt;&lt;br /&gt;
&amp;lt;th&amp;gt;Means... &amp;lt;/th&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;lt;td align=&amp;quot;right&amp;quot;&amp;gt;0 &amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt;Return code zero indicates good data. Either item is numeric and the data is of the correct format, or the item is not numeric (no validation performed).&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;lt;td align=&amp;quot;right&amp;quot;&amp;gt;1&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt;Item is numeric and the data is invalid.&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;lt;td align=&amp;quot;right&amp;quot;&amp;gt;2 &amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt;On an array element, at least one subscript is out-of-bounds.&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;lt;td align=&amp;quot;right&amp;quot;&amp;gt;3 &amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt;Item named does not exist.&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
[[Category:SOUL $functions]]&lt;/div&gt;</summary>
		<author><name>Alex</name></author>
	</entry>
</feed>