translation updated for string.
[scilab.git] / scilab / modules / string / help / ja_JP / ascii.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2
3 <!--
4  * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
5  * Copyright (C) INRIA - 
6  * 
7  * This file must be used under the terms of the CeCILL.
8  * This source file is licensed as described in the file COPYING, which
9  * you should have received as part of this distribution.  The terms
10  * are also available at    
11  * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
12  *
13  -->
14
15 <refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:ns3="http://www.w3.org/1999/xhtml" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:id="ascii" xml:lang="ja">
16     
17     <refnamediv>
18         
19         <refname>ascii</refname>
20         
21         <refpurpose>文字列をアスキー変換する</refpurpose>
22         
23     </refnamediv>
24     
25     <refsynopsisdiv>
26         
27         <title>呼び出し手順</title>
28         
29         <synopsis>a=ascii(txt)
30             
31             txt=ascii(a)
32             
33         </synopsis>
34         
35     </refsynopsisdiv>
36     
37     <refsection>
38         
39         <title>引数</title>
40         
41         <variablelist>
42             
43             <varlistentry>
44                 
45                 <term>txt</term>
46                 
47                 <listitem>
48                     
49                     <para>文字列または文字列の行列.</para>
50                     
51                 </listitem>
52                 
53             </varlistentry>
54             
55             <varlistentry>
56                 
57                 <term>a</term>
58                 
59                 <listitem>
60                     
61                     <para>整数アスキーコードのベクトル</para>
62                     
63                 </listitem>
64                 
65             </varlistentry>
66             
67         </variablelist>
68         
69     </refsection>
70     
71     <refsection>
72         
73         <title>説明</title>
74         
75         <para>
76             
77             この関数はScilab文字列をアスキーコード
78             
79             (最初の127個のコードはASCIIです)またはアスキーコードののベクトルに変換します.
80             
81             もしくは,アスキーコードのベクトルをScilab文字列に変換します.
82             
83         </para>
84         
85         <para>
86             
87             <literal>txt</literal> が文字列の行列の場合,
88             
89             <literal>ascii(txt)</literal> は
90             
91             <literal>ascii(strcat(txt))</literal>と等価です
92             
93         </para>
94         
95     </refsection>
96     
97     <refsection>
98         
99         <title>例</title>
100         
101         <programlisting role="example"><![CDATA[ 
102 ascii(["hello";"world"])
103 ascii("scilab")
104 ascii([115 99 105 108 97 98])
105  ]]></programlisting>
106         
107     </refsection>
108     
109     <refsection role="see also">
110         
111         <title>参照</title>
112         
113         <simplelist type="inline">
114             
115             <member>
116                 
117                 <link linkend="code2str">code2str</link>
118                 
119             </member>
120             
121             <member>
122                 
123                 <link linkend="str2code">str2code</link>
124                 
125             </member>
126             
127         </simplelist>
128         
129     </refsection>
130     
131 </refentry>
132