34fcfd920b8591b078a66a30deb52645fc53a011
[scilab.git] / scilab / modules / data_structures / help / ja_JP / setfield.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3  * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
4  * Copyright (C) 2006-2008 - INRIA
5  *
6  * Copyright (C) 2012 - 2016 - Scilab Enterprises
7  *
8  * This file is hereby licensed under the terms of the GNU GPL v2.0,
9  * pursuant to article 5.3.4 of the CeCILL v.2.1.
10  * This file was originally licensed under the terms of the CeCILL v2.1,
11  * and continues to be available under such terms.
12  * For more information, see the COPYING file which you should have received
13  * along with this program.
14  *
15  -->
16 <refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:lang="ja" xml:id="setfield">
17     <refnamediv>
18         <refname>setfield</refname>
19         <refpurpose>list フィールドの挿入</refpurpose>
20     </refnamediv>
21     <refsynopsisdiv>
22         <title>呼び出し手順</title>
23         <synopsis>setfield(i,x,l)</synopsis>
24     </refsynopsisdiv>
25     <refsection>
26         <title>パラメータ</title>
27         <variablelist>
28             <varlistentry>
29                 <term>x</term>
30                 <listitem>
31                     <para>任意の型の行列</para>
32                 </listitem>
33             </varlistentry>
34             <varlistentry>
35                 <term>l</term>
36                 <listitem>
37                     <para>list, tlist または mlist 変数</para>
38                 </listitem>
39             </varlistentry>
40             <varlistentry>
41                 <term>i</term>
42                 <listitem>
43                     <para>フィールド添え字, 詳細は insertion 参照.</para>
44                 </listitem>
45             </varlistentry>
46         </variablelist>
47     </refsection>
48     <refsection>
49         <title>説明</title>
50         <para>
51             この関数は,フィールド展開を行う<literal>l(i)=x</literal>構文と等価ですが,
52             唯一の差異は,<literal>mlist</literal>オブジェクトにも適用可能なことです.
53         </para>
54     </refsection>
55     <refsection>
56         <title>例</title>
57         <programlisting role="example"><![CDATA[
58 l=list(1,'qwerw',%s)
59 l(1)='Changed'
60 l(0)='Added'
61 l(6)=['one more';'added']
62  ]]></programlisting>
63     </refsection>
64     <refsection role="see also">
65         <title>参照</title>
66         <simplelist type="inline">
67             <member>
68                 <link linkend="insertion">insertion</link>
69             </member>
70         </simplelist>
71     </refsection>
72 </refentry>