1<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
2<!DOCTYPE funcs
3  SYSTEM '../../../clonk.dtd'>
4<?xml-stylesheet type="text/xsl" href="../../../clonk.xsl"?>
5<funcs>
6  <const>
7    <title>C4V_Bool</title>
8    <category>Variables</category>
9    <version>5.1 OC</version>
10    <syntax><rtype>int</rtype></syntax>
11    <desc>Data type: boolean value (<code>true</code> or <code>false</code>).</desc>
12    <examples>
13      <example>
14        <code><funclink>if</funclink> (<funclink>GetType</funclink>(x) == C4V_Bool) <funclink>Log</funclink>(&quot;x=%d&quot;, x);</code>
15        <text>Writes x to the log if it is a boolean value.</text>
16      </example>
17    </examples>
18    <related><funclink>GetType</funclink></related>
19  </const>
20  <author>Sven2</author><date>2002-04</date>
21</funcs>
22