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="ru" xml:id="setfield">
18 <refname>setfield</refname>
19 <refpurpose>внесение поля списка</refpurpose>
22 <title>Синтаксис</title>
23 <synopsis>setfield(i, x, l)</synopsis>
26 <title>Аргументы</title>
31 <para>матрица всевозможного типа.</para>
38 переменная типа <literal>list</literal>, <literal>tlist</literal> или <literal>mlist</literal>.
46 индекс поля, см. справку по <link linkend="insertion">вставке</link>.
53 <title>Описание</title>
55 Эта функция является эквивалентом синтаксиса <code>l(i)=x</code>
56 для вставки поля с той лишь разницей, что она также применима к объектам <literal>mlist</literal>.
60 <title>Примеры</title>
61 <programlisting role="example"><![CDATA[
65 l(6)=['ещё один';'добавлен']
68 <refsection role="see also">
69 <title>Смотрите также</title>
70 <simplelist type="inline">
72 <link linkend="insertion">вставка</link>