1 <?xml version="1.0" encoding="UTF-8"?>
3 * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
5 * Copyright (C) 2017 - Samuel GOUGEON
7 * Copyright (C) 2012 - 2016 - Scilab Enterprises
9 * This file is hereby licensed under the terms of the GNU GPL v2.0,
10 * pursuant to article 5.3.4 of the CeCILL v.2.1.
11 * This file was originally licensed under the terms of the CeCILL v2.1,
12 * and continues to be available under such terms.
13 * For more information, see the COPYING file which you should have received
14 * along with this program.
17 <refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"
18 xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML"
19 xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org"
20 xml:lang="ja" xml:id="names">
22 <refname>names</refname>
23 <refpurpose>Scilab 名前の構文</refpurpose>
28 変数および関数の名前は文字または以下の特殊文字のとれかから始まる必要があります:
29 <literal>% _ # ! ? $</literal>
33 <literal>_ # ! ? $</literal>
40 Multilingual UTF-8 characters are accepted.
43 Names may be as long as you want.
48 <programlisting role="example"><![CDATA[
54 My_Special_Color_Table = rand(10,3)
60 The_name_of_an_identifier_is_not_length_limited = 1
62 // A kilometric name (1000-char long) :
63 name = strcat(part("a",ones(1,1000)));
64 execstr(name+"=%pi; b ="+name);
68 <refsection role="history">
72 <revnumber>6.0</revnumber>
76 Scilab's parser no longer truncates names longer than 24 characters.
79 UTF-8 characters are now accepted in names of variables and fields.