PageRenderTime 26ms CodeModel.GetById 22ms app.highlight 3ms RepoModel.GetById 0ms app.codeStats 0ms

/docs/sdk/script/fn/VarN.xml

https://bitbucket.org/randrian/openclonk2
XML | 37 lines | 34 code | 3 blank | 0 comment | 0 complexity | d3b724c64b696fd3d7f2919c36deb1a7 MD5 | raw file
Possible License(s): WTFPL, 0BSD, LGPL-2.1, CC-BY-3.0
 1<?xml version="1.0" encoding="ISO-8859-1" standalone="yes"?>
 2<!DOCTYPE funcs SYSTEM "../../../clonk.dtd">
 3<?xml-stylesheet type="text/xsl" href="../../../clonk.xsl"?>
 4<funcs>
 5  <func>
 6    <title>VarN</title>
 7    <category>Variablen</category>
 8    <version>4.9.1.0 GWE</version>
 9    <syntax>
10      <rtype>&amp;</rtype>
11      <params>
12        <param>
13          <type>string</type>
14          <name>szName</name>
15          <desc>Name der Variablen, zu der eine Referenz zur�ckgegeben werden soll</desc>
16        </param>
17      </params>
18    </syntax>
19
20    <desc>Gibt eine Referenz auf eine funktionslokale Variable zur�ck. Diese Referenz kann zum Lesen und Schreiben benutzt werden.</desc>
21
22    <examples>
23      <example>
24<code>var v0,v1,v2,v3,v4,v5,v6;
25VarN(<funclink>Format</funclink>("V%d", <funclink>Random</funclink>(7))) = <funclink>Random</funclink>(100);</code>
26        <text>Setzt eine zuf�llige, threadlokale Variable auf einen zuf�lligen Wert.</text>
27      </example>
28    </examples>
29
30    <related>
31      <funclink>IsRef</funclink>
32      <funclink>LocalN</funclink>
33      <funclink>GlobalN</funclink>
34    </related>
35  </func>
36  <author>Sven2</author><date>April 2002</date>
37</funcs>