2010-08-22 13:13:17 +00:00
|
|
|
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
|
|
|
<!DOCTYPE funcs
|
|
|
|
SYSTEM '../../../clonk.dtd'>
|
2009-05-09 13:11:51 +00:00
|
|
|
<?xml-stylesheet type="text/xsl" href="../../../clonk.xsl"?>
|
|
|
|
<funcs>
|
2011-06-30 15:25:22 +00:00
|
|
|
<const>
|
2009-05-09 13:11:51 +00:00
|
|
|
<title>C4V_C4Object</title>
|
2010-08-22 13:13:17 +00:00
|
|
|
<category>Variables</category>
|
2018-03-24 22:13:08 +00:00
|
|
|
<version>1.0 OC</version>
|
2010-08-22 13:13:17 +00:00
|
|
|
<syntax><rtype>int</rtype></syntax>
|
|
|
|
<desc>Data type: object pointer.</desc>
|
2009-05-09 13:11:51 +00:00
|
|
|
<examples>
|
|
|
|
<example>
|
2010-08-22 13:13:17 +00:00
|
|
|
<code><funclink>if</funclink> (x && <funclink>GetType</funclink>(x)==C4V_C4Object) <funclink>Log</funclink>("x=%s", <funclink>GetName</funclink>(x));</code>
|
|
|
|
<text>Writes the name of x to the log if it is an object.</text>
|
2009-05-09 13:11:51 +00:00
|
|
|
</example>
|
|
|
|
</examples>
|
2010-08-22 13:13:17 +00:00
|
|
|
<related><funclink>GetType</funclink></related>
|
2011-06-30 15:25:22 +00:00
|
|
|
</const>
|
2010-08-22 13:13:17 +00:00
|
|
|
<author>Sven2</author><date>2002-04</date>
|
2009-05-09 13:11:51 +00:00
|
|
|
</funcs>
|