forked from Mirrors/openclonk
Documentation for C4V_Def (#1215)
parent
ab52803a4f
commit
b5560dff25
|
@ -0,0 +1,21 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||
<!DOCTYPE funcs
|
||||
SYSTEM '../../../clonk.dtd'>
|
||||
<?xml-stylesheet type="text/xsl" href="../../../clonk.xsl"?>
|
||||
<funcs>
|
||||
<const>
|
||||
<title>C4V_Def</title>
|
||||
<category>Variables</category>
|
||||
<version>5.1 OC</version>
|
||||
<syntax><rtype>int</rtype></syntax>
|
||||
<desc>Data type: Definition. Definitions are a special type of proplist, and this data type is used for distinguishing definitions from proplists.</desc>
|
||||
<examples>
|
||||
<example>
|
||||
<code><funclink>if</funclink> (<funclink>GetType</funclink>(definition) == C4V_Def) CreateObject(definition);</code>
|
||||
<text>Creates an object specified by <code>definition</code>, if that variable is actually a definition.</text>
|
||||
</example>
|
||||
</examples>
|
||||
<related><funclink>GetType</funclink></related>
|
||||
</const>
|
||||
<author>Marky</author><date>2015-01</date>
|
||||
</funcs>
|
|
@ -26,6 +26,7 @@
|
|||
<funclink>C4V_Array</funclink>
|
||||
<funclink>C4V_PropList</funclink>
|
||||
<funclink>C4V_C4Object</funclink>
|
||||
<funclink>C4V_Def</funclink>
|
||||
</related>
|
||||
</func>
|
||||
<author>PeterW</author><date>2003-06</date>
|
||||
|
|
Loading…
Reference in New Issue