openclonk/docs/sdk/script/fn/Inside.xml

35 lines
957 B
XML

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<!DOCTYPE funcs
SYSTEM '../../../clonk.dtd'>
<?xml-stylesheet type="text/xsl" href="../../../clonk.xsl"?>
<funcs>
<func>
<title>Inside</title>
<category>Arithmetics</category>
<version>5.1 OC</version>
<syntax>
<rtype>bool</rtype>
<params>
<param>
<type>int</type>
<name>value</name>
<desc>Input value</desc>
</param>
<param>
<type>int</type>
<name>lower_bound</name>
<desc>Lower limit</desc>
</param>
<param>
<type>int</type>
<name>upper_bound</name>
<desc>Upper limit</desc>
</param>
</params>
</syntax>
<desc>Returns <code>true</code>, if value &gt;= lower_bound and val &lt;= upper_bound.</desc>
<related><funclink>BoundBy</funclink></related>
</func>
<author>PeterW</author><date>2001-11</date>
</funcs>