* Bug 15685 fixed: file() page fixed & improved 37/20437/3
Samuel GOUGEON [Sun, 5 Aug 2018 00:38:36 +0000 (02:38 +0200)]
  http://bugzilla.scilab.org/15685

Change-Id: I95b0067137a7e2bf34263105325510d34b68d443

scilab/CHANGES.md
scilab/modules/io/help/en_US/file.xml
scilab/modules/io/help/ja_JP/file.xml
scilab/modules/io/help/pt_BR/file.xml

index d691d80..075fae0 100644 (file)
@@ -553,6 +553,7 @@ Known issues
 * [#15659](http://bugzilla.scilab.org/show_bug.cgi?id=15659): `plot(x,fun)` could be very slow and crash Scilab.
 * [#15660](http://bugzilla.scilab.org/show_bug.cgi?id=15660): `atomsInstall` and `atomsRemove` displayed concatenated notifications instead of stacked ones.
 * [#15670](http://bugzilla.scilab.org/show_bug.cgi?id=15670): `set(H, prop1,val1, prop2,val2, ..)`: Setting multiple properties for a vector of handles yielded an error.
+* [#15685](http://bugzilla.scilab.org/show_bug.cgi?id=15685): The page of `file()` needed to be updated about error numbers, and improved.
 * [#15692](http://bugzilla.scilab.org/show_bug.cgi?id=15692): listvarinfile() crashes when listing a boolean sparse matrix (regression)
 * [#15693](http://bugzilla.scilab.org/show_bug.cgi?id=15693): listvarinfile() misses displaying the size of polynomial variables (regression)
 
index f77716e..49f91db 100644 (file)
@@ -2,8 +2,8 @@
 <!--
  * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
  * Copyright (C) XXXX-2008 - INRIA
- *
  * Copyright (C) 2012 - 2016 - Scilab Enterprises
+ * Copyright (C) 2018 - Samuel GOUGEON
  *
  * This file is hereby licensed under the terms of the GNU GPL v2.0,
  * pursuant to article 5.3.4 of the CeCILL v.2.1.
     </refnamediv>
     <refsynopsisdiv>
         <title>Syntax</title>
-        <synopsis>[unit [,err]]=file("open", file-name [,status] [,access [,recl]] [,format])
+        <synopsis>
+            [unit, err] = file("open", file-name [,status] [,access [,recl]] [,format])
             file("close", unit)
             file("rewind", unit)
             file("backspace", unit)
             file("last", unit)
-            [units [,typ [,nams [,mod [,swap]]]]] = file([unit])
+            [units, typ, nams, mod, swap] = file()
+            [units, typ, nams, mod, swap] = file(unit)
         </synopsis>
     </refsynopsisdiv>
     <refsection>
                 <term>file-name</term>
                 <listitem>
                     <para>string, file name of the file to be opened</para>
+                    <warning>
+                        This function can not open files whose path or/and name have non-ascii
+                        UTF characters (accented, etc). In this case, mopen() must be used.
+                    </warning>
                 </listitem>
             </varlistentry>
             <varlistentry>
             <varlistentry>
                 <term>mod</term>
                 <listitem>
-                    <para>file opening mode. Formed by three digits abc</para>
-                    <variablelist>
-                        <varlistentry>
-                            <term>Fortran files</term>
-                            <listitem>
-                                <variablelist>
-                                    <varlistentry>
-                                        <term>a</term>
-                                        <listitem>
-                                            <para>0 stands for formatted and 1 for unformatted
-                                                (binary)
-                                            </para>
-                                        </listitem>
-                                    </varlistentry>
-                                    <varlistentry>
-                                        <term>b</term>
-                                        <listitem>
-                                            <para>0 stands for sequential access and 1 for direct
-                                                access
-                                            </para>
-                                        </listitem>
-                                    </varlistentry>
-                                    <varlistentry>
-                                        <term>c</term>
-                                        <listitem>
-                                            <para>0 stands for "new", 1 for "old", 2 for "scratch"
-                                                and 3 for "unknown"
-                                            </para>
-                                        </listitem>
-                                    </varlistentry>
-                                </variablelist>
-                            </listitem>
-                        </varlistentry>
-                        <varlistentry>
-                            <term>C files</term>
-                            <listitem>
-                                <variablelist>
-                                    <varlistentry>
-                                        <varlistentry>
-                                            <term>a</term>
-                                            <listitem>
-                                                <para>1 stands for "r" (read), 2 stands for "w" (write)
-                                                    and 3 for "a" (append)
-                                                </para>
-                                            </listitem>
-                                            <varlistentry>
-                                                <term>b</term>
-                                                <listitem>
-                                                    <para>is 1 if file has been opened with a "+" (updating)
-                                                        mode
-                                                    </para>
-                                                </listitem>
-                                            </varlistentry>
-                                        </varlistentry>
-                                        <term>b</term>
-                                        <listitem>
-                                            <para>is 1 if file has been opened with a "b" (binary)
-                                                mode
-                                            </para>
-                                        </listitem>
-                                    </varlistentry>
-                                </variablelist>
-                            </listitem>
-                        </varlistentry>
-                    </variablelist>
+                    <para>file opening mode. Formed by three digits abc:</para>
+                    <table border="0">
+                        <tr valign="top">
+                            <th colspan="2">Fortran files</th>
+                        </tr>
+                        <tr valign="top">
+                            <th>a</th>
+                            <td>0 stands for formatted and 1 for unformatted (binary)</td>
+                        </tr>
+                        <tr valign="top">
+                            <th>b</th>
+                            <td>0 stands for sequential access and 1 for direct access</td>
+                        </tr>
+                        <tr valign="top">
+                            <th>c</th>
+                            <td>0 stands for "new", 1 for "old", 2 for "scratch" and 3 for "unknown"</td>
+                        </tr>
+                        <tr valign="top">
+                            <th colspan="2">C files</th>
+                        </tr>
+                        <tr valign="top">
+                            <th>a</th>
+                            <td>1 stands for "r" (read), 2 stands for "w" (write)  and 3 for "a" (append)</td>
+                        </tr>
+                        <tr valign="top">
+                            <th>b</th>
+                            <td>is 1 if file has been opened with a "+" (updating) mode</td>
+                        </tr>
+                        <tr valign="top">
+                            <th>c</th>
+                            <td>is 1 if file has been opened with a "b" (binary) mode</td>
+                        </tr>
+                    </table>
                 </listitem>
             </varlistentry>
             <varlistentry>
             <varlistentry>
                 <term>err</term>
                 <listitem>
-                    <para>integer, error message number (see error), if open fails. If
-                        err is omitted an error message is issued.
+                    <para>integer code returned if opening the file fails. If <varname>err</varname>
+                    is omitted, an error message is issued.
                     </para>
+                    <table>
+                        <tr valign="top"><th>65</th><td>File already used</td></tr>
+                        <tr valign="top"><th>66</th><td>Too many files opened!</td></tr>
+                        <tr valign="top"><th>67</th><td>Unknown file format</td></tr>
+                        <tr valign="top"><th>240</th>
+                                         <td>The file already exists or directory write
+                                             access denied.</td></tr>
+                        <tr valign="top"><th>241</th><td>The file does not exist or read access denied.</td></tr>
+                    </table>
                 </listitem>
             </varlistentry>
         </variablelist>
     <refsection>
         <title>Description</title>
         <para>
-            selects a logical unit <varname>unit</varname> and manages the file
-            <varname>file-name</varname>.
+            <literal>file(…)</literal> selects a logical unit <varname>unit</varname> and manages
+            the file <varname>file-name</varname>.
         </para>
         <variablelist>
             <varlistentry>
-                <term>[unit [,err]]=file("open", file-name [,status] [,access
-                    [,recl]][,format])
+                <term>[unit [,err]]=file("open", file-name [,status] [,access [,recl]][,format])
                 </term>
                 <listitem>
                     <para>
                 </term>
                 <listitem>
                     <para>
-                        puts the pointer at the beginning of file.
+                        puts the pointer at the beginning of the file.
                     </para>
                 </listitem>
             </varlistentry>
                 </term>
                 <listitem>
                     <para>
-                        returns the logical unit descriptors of
-                        the opened files. So <literal>file("close",file())</literal> closes all
-                        user opened files (C or Fortran type).
+                        returns the descriptors of the opened files.
+                    </para>
+                    <para>To test whether a file whose unit is <literal>id</literal> is opened,
+                        <literal>file(id)~=[]</literal> may be used.
+                    </para>
+                    <para>To close all user opened files (C or Fortran type),
+                        <literal>file("close",file())</literal> may be used.
                     </para>
                 </listitem>
             </varlistentry>
         </variablelist>
-        <warning>
-            This function can not open a UTF filename. In this case, please use mopen.
-        </warning>
     </refsection>
     <refsection>
         <title>Examples</title>
@@ -343,31 +326,28 @@ mclose(u2);
                 <link linkend="isfile">isfile</link>
             </member>
             <member>
-                <link linkend="save">save</link>
+                <link linkend="read">read</link>
             </member>
             <member>
-                <link linkend="load">load</link>
+                <link linkend="readb">readb</link>
             </member>
             <member>
                 <link linkend="write">write</link>
             </member>
             <member>
-                <link linkend="read">read</link>
-            </member>
-            <member>
                 <link linkend="writb">writb</link>
             </member>
             <member>
-                <link linkend="readb">readb</link>
+                <link linkend="mopen">mopen</link>
             </member>
             <member>
-                <link linkend="uigetfile">uigetfile</link>
+                <link linkend="save">save</link>
             </member>
             <member>
-                <link linkend="mopen">mopen</link>
+                <link linkend="load">load</link>
             </member>
             <member>
-                <link linkend="mclose">mclose</link>
+                <link linkend="uigetfile">uigetfile</link>
             </member>
         </simplelist>
     </refsection>
index 32097f6..61f9033 100644 (file)
@@ -2,8 +2,8 @@
 <!--
  * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
  * Copyright (C) XXXX-2008 - INRIA
- *
  * Copyright (C) 2012 - 2016 - Scilab Enterprises
+ * Copyright (C) 2018 - Samuel GOUGEON
  *
  * This file is hereby licensed under the terms of the GNU GPL v2.0,
  * pursuant to article 5.3.4 of the CeCILL v.2.1.
     </refnamediv>
     <refsynopsisdiv>
         <title>呼び出し手順</title>
-        <synopsis>[unit [,err]]=file('open', file-name [,status] [,access [,recl]] [,format])
-            file(action,unit)
-            [units [,typ [,nams [,mod [,swap]]]]] = file([unit])
+        <synopsis>
+            [unit, err] = file("open", file-name [,status] [,access [,recl]] [,format])
+            file("close", unit)
+            file("rewind", unit)
+            file("backspace", unit)
+            file("last", unit)
+            [units, typ, nams, mod, swap] = file()
+            [units, typ, nams, mod, swap] = file(unit)
         </synopsis>
     </refsynopsisdiv>
     <refsection>
                 <term>file-name</term>
                 <listitem>
                     <para>文字列, オープンするファイルのファイル名</para>
+                    <warning>
+                        この関数は、ASCII以外のUTF文字(アクセント付きなど)を含むパスまたは名前のファイルを開くことはできません.
+                        この場合,mopenを使用してください.
+                    </warning>
                 </listitem>
             </varlistentry>
             <varlistentry>
             <varlistentry>
                 <term>mod</term>
                 <listitem>
-                    <para>ファイルをオープンするモード.
-                        3桁 abc により構成.
+                    <para>ファイルをオープンするモード. 3桁 abc により構成.
                     </para>
-                    <variablelist>
-                        <varlistentry>
-                            <term>Fortranファイル</term>
-                            <listitem>
-                                <variablelist>
-                                    <varlistentry>
-                                        <term>a</term>
-                                        <listitem>
-                                            <para>0 は整形済み, 1 は未整形(バイナリ)を意味します
-                                            </para>
-                                        </listitem>
-                                    </varlistentry>
-                                    <varlistentry>
-                                        <term>b</term>
-                                        <listitem>
-                                            <para>0 は連続アクセス, 1 は直接アクセスを意味します</para>
-                                        </listitem>
-                                    </varlistentry>
-                                    <varlistentry>
-                                        <term>c</term>
-                                        <listitem>
-                                            <para>0 は "new", 1 は "old", 2 は "scratch"
-                                                および 3 は "unknown"を意味します
-                                            </para>
-                                        </listitem>
-                                    </varlistentry>
-                                </variablelist>
-                            </listitem>
-                        </varlistentry>
-                        <varlistentry>
-                            <term>Cファイル</term>
-                            <listitem>
-                                <variablelist>
-                                    <varlistentry>
-                                        <varlistentry>
-                                            <term>a</term>
-                                            <listitem>
-                                                <para>1は "r" (読み込み)を意味し, 2 は "w" (書き込み)
-                                                    そして 3 は "a" (追加)を意味します
-                                                </para>
-                                            </listitem>
-                                            <varlistentry>
-                                                <term>b</term>
-                                                <listitem>
-                                                    <para>
-                                                        ファイルが "+" (更新)モードでオープンされている場合に 1
-                                                    </para>
-                                                </listitem>
-                                            </varlistentry>
-                                        </varlistentry>
-                                        <term>b</term>
-                                        <listitem>
-                                            <para>
-                                                ファイルが "b" (バイナリ)モードで
-                                                オープンされている場合に 1
-                                            </para>
-                                        </listitem>
-                                    </varlistentry>
-                                </variablelist>
-                            </listitem>
-                        </varlistentry>
-                    </variablelist>
+                    <table border="0">
+                        <tr valign="top">
+                            <th colspan="2">Fortranファイル</th>
+                        </tr>
+                        <tr valign="top">
+                            <th>a</th>
+                            <td>0 は整形済み, 1 は未整形(バイナリ)を意味します</td>
+                        </tr>
+                        <tr valign="top">
+                            <th>b</th>
+                            <td>0 は連続アクセス, 1 は直接アクセスを意味します</td>
+                        </tr>
+                        <tr valign="top">
+                            <th>c</th>
+                            <td>0 は "new", 1 は "old", 2 は "scratch" および 3 は "unknown"を意味します</td>
+                        </tr>
+                        <tr valign="top">
+                            <th colspan="2">Cファイル</th>
+                        </tr>
+                        <tr valign="top">
+                            <th>a</th>
+                            <td>1は "r" (読み込み)を意味し, 2 は "w" (書き込み) そして 3 は "a" (追加)を意味します</td>
+                        </tr>
+                        <tr valign="top">
+                            <th>b</th>
+                            <td>ファイルが "+" (更新)モードでオープンされている場合に 1</td>
+                        </tr>
+                        <tr valign="top">
+                            <th>c</th>
+                            <td>ファイルが "b" (バイナリ)モードで オープンされている場合に 1</td>
+                        </tr>
+                    </table>
                 </listitem>
             </varlistentry>
             <varlistentry>
             <varlistentry>
                 <term>err</term>
                 <listitem>
-                    <para>整数, オープンに失敗した場合は,
-                        エラーメッセージ番号 (error 参照).
-                        err が省略された場合,エラーメッセージが発行されます.
+                    <para>整数, オープンに失敗した場合は, エラーメッセージ番号. <varname>err</varname>
+                    が省略された場合,エラーメッセージが発行されます.
                     </para>
+                    <table>
+                        <tr valign="top"><th>65</th><td>File already used</td></tr>
+                        <tr valign="top"><th>66</th><td>Too many files opened!</td></tr>
+                        <tr valign="top"><th>67</th><td>Unknown file format</td></tr>
+                        <tr valign="top"><th>240</th>
+                                         <td>The file already exists or directory write
+                                             access denied.</td></tr>
+                        <tr valign="top"><th>241</th><td>The file does not exist or read access denied.</td></tr>
+                    </table>
                 </listitem>
             </varlistentry>
             <varlistentry>
             <literal>writb</literal>,<literal>save</literal>, <literal>load</literal>
             関数コールにおいてファイル記述子と同様に使用することができます.
         </para>
-        <warning>この関数はUTFファイル名をオープンすることができません.
-            この場合,mopenを使用してください.
-        </warning>
         <para>
             <literal>file(action,unit)</literal> により,ファイルを閉じたり,
             カレントのファイルポインタを移動することができます.
             <literal>file('close',file() )</literal> は
             ユーザにオープンされたファイル(CまたはFortran型)を全て閉じます.
         </para>
+        <para>To test whether a file  #<literal>id</literal> is opened,
+            <literal>file(id)~=[]</literal> may be used.
+        </para>
     </refsection>
     <refsection>
         <title>例</title>
@@ -334,31 +320,28 @@ mclose(u2);
                 <link linkend="isfile">isfile</link>
             </member>
             <member>
-                <link linkend="save">save</link>
+                <link linkend="read">read</link>
             </member>
             <member>
-                <link linkend="load">load</link>
+                <link linkend="readb">readb</link>
             </member>
             <member>
                 <link linkend="write">write</link>
             </member>
             <member>
-                <link linkend="read">read</link>
-            </member>
-            <member>
                 <link linkend="writb">writb</link>
             </member>
             <member>
-                <link linkend="readb">readb</link>
+                <link linkend="mopen">mopen</link>
             </member>
             <member>
-                <link linkend="uigetfile">uigetfile</link>
+                <link linkend="save">save</link>
             </member>
             <member>
-                <link linkend="mopen">mopen</link>
+                <link linkend="load">load</link>
             </member>
             <member>
-                <link linkend="mclose">mclose</link>
+                <link linkend="uigetfile">uigetfile</link>
             </member>
         </simplelist>
     </refsection>
index 93f0dfa..03c5693 100644 (file)
@@ -1,9 +1,9 @@
-<?xml version="1.0" encoding="ISO-8859-1"?>
+<?xml version="1.0" encoding="UTF-8"?>
 <!--
  * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
  * Copyright (C) XXXX-2008 - INRIA
- *
  * Copyright (C) 2012 - 2016 - Scilab Enterprises
+ * Copyright (C) 2018 - Samuel GOUGEON
  *
  * This file is hereby licensed under the terms of the GNU GPL v2.0,
  * pursuant to article 5.3.4 of the CeCILL v.2.1.
     </refnamediv>
     <refsynopsisdiv>
         <title>Seqüência de Chamamento</title>
-        <synopsis>[unit [,err]]=file('open', file-name [,status] [,access [,recl]] [,format])
-            file(action,unit)
-            [units [,typ [,nams [,mod [,swap]]]]] = file([unit])
+        <synopsis>
+            [unit, err] = file("open", file-name [,status] [,access [,recl]] [,format])
+            file("close", unit)
+            file("rewind", unit)
+            file("backspace", unit)
+            file("last", unit)
+            [units, typ, nams, mod, swap] = file()
+            [units, typ, nams, mod, swap] = file(unit)
         </synopsis>
     </refsynopsisdiv>
     <refsection>
                 <term>file-name</term>
                 <listitem>
                     <para>string, nome o arquivo a ser aberto</para>
+                    <warning>
+                        This function can not open files whose path or/and name have non-ascii
+                        UTF characters (accented, etc). In this case, please use mopen.
+                    </warning>
                 </listitem>
             </varlistentry>
             <varlistentry>
             <varlistentry>
                 <term>mod</term>
                 <listitem>
-                    <para>modo de abertura de arquivo. Formado por três dígitos
-                        abc
+                    <para>modo de abertura de arquivo. Formado por três dígitos abc:
                     </para>
-                    <variablelist>
-                        <varlistentry>
-                            <term>Arquivos Fortran</term>
-                            <listitem>
-                                <variablelist>
-                                    <varlistentry>
-                                        <term>a</term>
-                                        <listitem>
-                                            <para>0 significa formatado e 1 não formatado
-                                                (binário)
-                                            </para>
-                                        </listitem>
-                                    </varlistentry>
-                                    <varlistentry>
-                                        <term>b</term>
-                                        <listitem>
-                                            <para>0 significa acesso sequencial e 1 acesso
-                                                direto
-                                            </para>
-                                        </listitem>
-                                    </varlistentry>
-                                    <varlistentry>
-                                        <term>c</term>
-                                        <listitem>
-                                            <para>0 significa "new", 1 significa "old", 2 significa
-                                                "scratch" e 3 significa "unknown"
-                                            </para>
-                                        </listitem>
-                                    </varlistentry>
-                                </variablelist>
-                            </listitem>
-                        </varlistentry>
-                        <varlistentry>
-                            <term>Arquivos C</term>
-                            <listitem>
-                                <variablelist>
-                                    <varlistentry>
-                                        <term>a</term>
-                                        <listitem>
-                                            <para>1 significa "r" (leitura), 2 significa "w"
-                                                (escrita) e 3 significa "a" (anexação)
-                                            </para>
-                                        </listitem>
-                                    </varlistentry>
-                                    <varlistentry>
-                                        <term>b</term>
-                                        <listitem>
-                                            <para>é 1 se o arquivo foi aberto pelo modo "+"
-                                                (atualização)
-                                            </para>
-                                        </listitem>
-                                    </varlistentry>
-                                    <varlistentry>
-                                        <term>c</term>
-                                        <listitem>
-                                            <para>é 1 se o arquivo foi aberto pelo modo "b"
-                                                (binário)
-                                            </para>
-                                        </listitem>
-                                    </varlistentry>
-                                </variablelist>
-                            </listitem>
-                        </varlistentry>
-                    </variablelist>
+                    <table border="0">
+                        <tr valign="top">
+                            <th colspan="2">Arquivos Fortran</th>
+                        </tr>
+                        <tr valign="top">
+                            <th>a</th>
+                            <td>0 significa formatado e 1 não formatado (binário)</td>
+                        </tr>
+                        <tr valign="top">
+                            <th>b</th>
+                            <td>0 significa acesso sequencial e 1 acesso direto</td>
+                        </tr>
+                        <tr valign="top">
+                            <th>c</th>
+                            <td>0 significa "new", 1 significa "old", 2 significa "scratch" e 3
+                                significa "unknown"
+                            </td>
+                        </tr>
+                        <tr valign="top">
+                            <th colspan="2">Arquivos C</th>
+                        </tr>
+                        <tr valign="top">
+                            <th>a</th>
+                            <td>1 significa "r" (leitura), 2 significa "w" (escrita) e 3 significa
+                                "a" (anexação)</td>
+                        </tr>
+                        <tr valign="top">
+                            <th>b</th>
+                            <td>é 1 se o arquivo foi aberto pelo modo "+" (atualização)</td>
+                        </tr>
+                        <tr valign="top">
+                            <th>c</th>
+                            <td>é 1 se o arquivo foi aberto pelo modo "b" (binário)</td>
+                        </tr>
+                    </table>
                 </listitem>
             </varlistentry>
             <varlistentry>
             <varlistentry>
                 <term>err</term>
                 <listitem>
-                    <para>inteiro, número de mensagem de erro (ver error), se a abertura
-                        falha. Se err for omitido, uma mensagem de erro aparece.
+                    <para>
+                    </para>
+                    <para>inteiro, número de erro, se a abertura falha. Se <varname>err</varname>
+                    for omitido, uma mensagem de erro aparece.
                     </para>
+                    <table>
+                        <tr valign="top"><th>65</th><td>File already used</td></tr>
+                        <tr valign="top"><th>66</th><td>Too many files opened!</td></tr>
+                        <tr valign="top"><th>67</th><td>Unknown file format</td></tr>
+                        <tr valign="top"><th>240</th>
+                                         <td>The file already exists or directory write
+                                             access denied.</td></tr>
+                        <tr valign="top"><th>241</th><td>The file does not exist or read access denied.</td></tr>
+                    </table>
                 </listitem>
             </varlistentry>
             <varlistentry>
             mover o ponteiro do arquivo corrente.
         </para>
         <para>
-            <literal>file()</literal> retorna os descritores de unidades lógicas
-            dos arquivos abertos. So <literal>file('close',file() )</literal> fecha
+            <literal>file()</literal> retorna os descritores dos arquivos abertos.
+        </para>
+        <para>To test whether a file  #<literal>id</literal> is opened,
+            <literal>file(id)~=[]</literal> may be used.
+        </para>
+        <para>
+            <literal>file('close',file() )</literal> fecha
             todos os arquivos do usuário abertos (tipo C ou Fortran).
         </para>
-        <warning>
-            This function can not open a UTF filename. In this case, please use mopen.
-        </warning>
     </refsection>
     <refsection>
         <title>Exemplos</title>
@@ -328,31 +320,28 @@ mclose(u2);
                 <link linkend="isfile">isfile</link>
             </member>
             <member>
-                <link linkend="save">save</link>
+                <link linkend="read">read</link>
             </member>
             <member>
-                <link linkend="load">load</link>
+                <link linkend="readb">readb</link>
             </member>
             <member>
                 <link linkend="write">write</link>
             </member>
             <member>
-                <link linkend="read">read</link>
-            </member>
-            <member>
                 <link linkend="writb">writb</link>
             </member>
             <member>
-                <link linkend="readb">readb</link>
+                <link linkend="mopen">mopen</link>
             </member>
             <member>
-                <link linkend="uigetfile">uigetfile</link>
+                <link linkend="save">save</link>
             </member>
             <member>
-                <link linkend="mopen">mopen</link>
+                <link linkend="load">load</link>
             </member>
             <member>
-                <link linkend="mclose">mclose</link>
+                <link linkend="uigetfile">uigetfile</link>
             </member>
         </simplelist>
     </refsection>