1 <?xml version="1.0" encoding="UTF-8"?>
3 * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
4 * Copyright (C) 2006-2008 - INRIA
6 * Copyright (C) 2012 - 2016 - Scilab Enterprises
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.
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">
18 <refname>setfield</refname>
19 <refpurpose>list フィールドの挿入</refpurpose>
23 <synopsis>setfield(i,x,l)</synopsis>
37 <para>list, tlist または mlist 変数</para>
43 <para>フィールド添え字, 詳細は insertion 参照.</para>
51 この関数は,フィールド展開を行う<literal>l(i)=x</literal>構文と等価ですが,
52 唯一の差異は,<literal>mlist</literal>オブジェクトにも適用可能なことです.
57 <programlisting role="example"><![CDATA[
61 l(6)=['one more';'added']
64 <refsection role="see also">
66 <simplelist type="inline">
68 <link linkend="insertion">insertion</link>