1
<?xml version="1.0" encoding="UTF-8"?>
3
* Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
4
* Copyright (C) INRIA -
6
* This file must be used under the terms of the CeCILL.
7
* This source file is licensed as described in the file COPYING, which
8
* you should have received as part of this distribution. The terms
9
* are also available at
10
* http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
13
<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" version="5.0-subset Scilab" xml:lang="ja" xml:id="tree2code">
15
<refname>tree2code</refname>
16
<refpurpose>Scilab関数のアスキー定義を生成する</refpurpose>
20
<synopsis>txt=tree2code(tree,prettyprint)</synopsis>
28
<para>マクロツリー (macr2treeの出力)</para>
32
<term>prettyprint</term>
34
<para>オプションの論理値</para>
39
<para>生成されるコードはインデント,整形されます</para>
45
<para>生成されるコードは整形されません (デフォルト)</para>
54
<para>文字列の列ベクトルで, Scilab命令を指定するテキスト</para>
62
読み込まれたScilab関数 "ツリー" (macr2treeの出力)を指定することで, tree2code
67
<title>Examples</title>
68
<programlisting role="example"><![CDATA[
70
txt=tree2code(tree,%T);
71
write(%io(2),txt,'(a)');
74
<refsection role="see also">
76
<simplelist type="inline">
78
<link linkend="macr2tree">macr2tree</link>