Revision of help pages for bytecode function
[scilab.git] / scilab / modules / functions / help / ja_JP / bytecode.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) ????-2008 - INRIA Serge Steer
5  *
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.1-en.txt
11  *-->
12 <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="bytecode">
13     <refnamediv>
14         <refname>bytecode</refname>
15         <refpurpose>
16             Scilab関数を指定すると"バイトコード"をScilab配列に返す,
17             またはその逆の処理を行う.
18         </refpurpose>
19     </refnamediv>
20     <refsynopsisdiv>
21         <title>呼び出し手順</title>
22         <synopsis>
23             x = bytecode(f)
24             f = bytecode(x)
25         </synopsis>
26     </refsynopsisdiv>
27     <refsection>
28         <title>パラメータ</title>
29         <variablelist>
30             <varlistentry>
31                 <term>f</term>
32                 <listitem>
33                     <para>
34                         scilab 関数.
35                     </para>
36                 </listitem>
37             </varlistentry>
38             <varlistentry>
39                 <term>x</term>
40                 <listitem>
41                     <para>
42                         int32 行ベクトル
43                     </para>
44                 </listitem>
45             </varlistentry>
46         </variablelist>
47     </refsection>
48     <refsection>
49         <title>説明</title>
50         <para>
51             <code>x = bytecode(f)</code> は,
52             Scilab関数 <varname>f</varname> の "バイトコード"を
53             整数配列<varname>x</varname>に返します.
54         </para>
55         <para>
56             <code>f= bytecode(x)</code> は,
57             Scilabの整数配列 <varname>x</varname> で指定した
58             "バイトコード"が示す関数 <varname>f</varname> を
59             返します.
60             <varname>x</varname> の有効性は確認されないことに
61             注意してください.
62         </para>
63     </refsection>
64     <refsection>
65         <title>注意</title>
66         <para>
67             Scilab関数のバイトコードは,将来劇的に進化すると予想されるため,
68             この関数はプロファイル命令の処理に限って使用するべきです.
69         </para>
70     </refsection>
71     <refsection>
72         <title>例</title>
73         <programlisting role="example"><![CDATA[
74 function a=foo(),a=sin(3),endfunction
75 bytecode(foo)
76  ]]></programlisting>
77     </refsection>
78     <refsection role="see also">
79         <title>参照</title>
80         <simplelist type="inline">
81             <member>
82                 <link linkend="add_profiling">add_profiling</link>
83             </member>
84             <member>
85                 <link linkend="bytecodewalk">bytecodewalk</link>
86             </member>
87             <member>
88                 <link linkend="macr2lst">macr2lst</link>
89             </member>
90             <member>
91                 <link linkend="macr2tree">macr2tree</link>
92             </member>
93         </simplelist>
94     </refsection>
95 </refentry>