summaryrefslogtreecommitdiffstats
path: root/scilab
diff options
context:
space:
mode:
authorSamuel GOUGEON <sgougeon@free.fr>2021-04-16 22:58:09 +0200
committerClément David <clement.david@esi-group.com>2021-04-28 17:54:58 +0200
commitf59d6de9f6eef9ec149b9c26dbd86e43b13913a9 (patch)
tree7923a1bdd2a09198274668e2a7426f57c86e79eb /scilab
parent0dd6b782ada56441259ef3f756ef5ecd0f6b783f (diff)
downloadscilab-f59d6de9f6eef9ec149b9c26dbd86e43b13913a9.zip
scilab-f59d6de9f6eef9ec149b9c26dbd86e43b13913a9.tar.gz
[doc][core] Unfold synopses (end, after d9e34a)
+ other small fix or improvements Change-Id: I32aeab85504634bbfa2c96772fa078490815d797
Diffstat (limited to 'scilab')
-rw-r--r--scilab/modules/core/help/en_US/configuration/banner.xml17
-rw-r--r--scilab/modules/core/help/en_US/configuration/getdebuginfo.xml52
-rw-r--r--scilab/modules/core/help/en_US/configuration/getmemory.xml2
-rw-r--r--scilab/modules/core/help/en_US/configuration/getmodules.xml13
-rw-r--r--scilab/modules/core/help/en_US/configuration/getos.xml24
-rw-r--r--scilab/modules/core/help/en_US/configuration/getscilabmode.xml17
-rw-r--r--scilab/modules/core/help/en_US/configuration/getshell.xml10
-rw-r--r--scilab/modules/core/help/en_US/configuration/getversion.xml50
-rw-r--r--scilab/modules/core/help/en_US/configuration/ver.xml12
-rw-r--r--scilab/modules/core/help/en_US/configuration/with_module.xml2
-rw-r--r--scilab/modules/core/help/en_US/error_handling/lasterror.xml6
-rw-r--r--scilab/modules/core/help/en_US/startup.xml13
-rw-r--r--scilab/modules/core/help/en_US/types/typename.xml47
-rw-r--r--scilab/modules/core/help/en_US/variables/exists.xml27
-rw-r--r--scilab/modules/core/help/en_US/variables/isdef.xml23
-rw-r--r--scilab/modules/core/help/en_US/variables/who.xml30
-rw-r--r--scilab/modules/core/help/en_US/variables/who_user.xml14
-rw-r--r--scilab/modules/core/help/fr_FR/configuration/banner.xml15
-rw-r--r--scilab/modules/core/help/fr_FR/configuration/getos.xml18
-rw-r--r--scilab/modules/core/help/fr_FR/configuration/getshell.xml11
-rw-r--r--scilab/modules/core/help/fr_FR/configuration/with_macros_source.xml2
-rw-r--r--scilab/modules/core/help/fr_FR/debugging/where.xml4
-rw-r--r--scilab/modules/core/help/fr_FR/startup.xml11
-rw-r--r--scilab/modules/core/help/fr_FR/types/typename.xml48
-rw-r--r--scilab/modules/core/help/fr_FR/variables/exists.xml5
-rw-r--r--scilab/modules/core/help/fr_FR/variables/isdef.xml5
-rw-r--r--scilab/modules/core/help/fr_FR/variables/who.xml33
-rw-r--r--scilab/modules/core/help/ja_JP/configuration/banner.xml15
-rw-r--r--scilab/modules/core/help/ja_JP/configuration/getdebuginfo.xml53
-rw-r--r--scilab/modules/core/help/ja_JP/configuration/getmodules.xml7
-rw-r--r--scilab/modules/core/help/ja_JP/configuration/getos.xml24
-rw-r--r--scilab/modules/core/help/ja_JP/configuration/getscilabmode.xml17
-rw-r--r--scilab/modules/core/help/ja_JP/configuration/getshell.xml7
-rw-r--r--scilab/modules/core/help/ja_JP/configuration/getversion.xml52
-rw-r--r--scilab/modules/core/help/ja_JP/configuration/ver.xml12
-rw-r--r--scilab/modules/core/help/ja_JP/configuration/with_javasci.xml2
-rw-r--r--scilab/modules/core/help/ja_JP/error_handling/lasterror.xml21
-rw-r--r--scilab/modules/core/help/ja_JP/startup.xml13
-rw-r--r--scilab/modules/core/help/ja_JP/types/type.xml2
-rw-r--r--scilab/modules/core/help/ja_JP/types/typename.xml42
-rw-r--r--scilab/modules/core/help/ja_JP/variables/exists.xml5
-rw-r--r--scilab/modules/core/help/ja_JP/variables/global.xml64
-rw-r--r--scilab/modules/core/help/ja_JP/variables/isdef.xml5
-rw-r--r--scilab/modules/core/help/ja_JP/variables/who.xml81
-rw-r--r--scilab/modules/core/help/ja_JP/variables/who_user.xml5
-rw-r--r--scilab/modules/core/help/pt_BR/configuration/banner.xml15
-rw-r--r--scilab/modules/core/help/pt_BR/configuration/getdebuginfo.xml58
-rw-r--r--scilab/modules/core/help/pt_BR/configuration/getmodules.xml12
-rw-r--r--scilab/modules/core/help/pt_BR/configuration/getos.xml28
-rw-r--r--scilab/modules/core/help/pt_BR/configuration/getscilabmode.xml19
-rw-r--r--scilab/modules/core/help/pt_BR/configuration/getshell.xml7
-rw-r--r--scilab/modules/core/help/pt_BR/configuration/getversion.xml63
-rw-r--r--scilab/modules/core/help/pt_BR/configuration/sciargs.xml2
-rw-r--r--scilab/modules/core/help/pt_BR/configuration/ver.xml12
-rw-r--r--scilab/modules/core/help/pt_BR/configuration/with_macros_source.xml2
-rw-r--r--scilab/modules/core/help/pt_BR/configuration/with_module.xml24
-rw-r--r--scilab/modules/core/help/pt_BR/debugging/where.xml2
-rw-r--r--scilab/modules/core/help/pt_BR/debugging/whereami.xml3
-rw-r--r--scilab/modules/core/help/pt_BR/error_handling/errclear.xml6
-rw-r--r--scilab/modules/core/help/pt_BR/error_handling/lasterror.xml11
-rw-r--r--scilab/modules/core/help/pt_BR/exit.xml31
-rw-r--r--scilab/modules/core/help/pt_BR/startup.xml25
-rw-r--r--scilab/modules/core/help/pt_BR/types/type.xml2
-rw-r--r--scilab/modules/core/help/pt_BR/types/typename.xml46
-rw-r--r--scilab/modules/core/help/pt_BR/variables/exists.xml17
-rw-r--r--scilab/modules/core/help/pt_BR/variables/isdef.xml17
-rw-r--r--scilab/modules/core/help/pt_BR/variables/predef.xml16
-rw-r--r--scilab/modules/core/help/pt_BR/variables/who.xml81
-rw-r--r--scilab/modules/core/help/pt_BR/variables/who_user.xml29
-rw-r--r--scilab/modules/core/help/pt_BR/variables/whos.xml3
-rw-r--r--scilab/modules/core/help/ru_RU/configuration/banner.xml15
-rw-r--r--scilab/modules/core/help/ru_RU/configuration/getdebuginfo.xml52
-rw-r--r--scilab/modules/core/help/ru_RU/configuration/getmodules.xml8
-rw-r--r--scilab/modules/core/help/ru_RU/configuration/getos.xml21
-rw-r--r--scilab/modules/core/help/ru_RU/configuration/getscilabmode.xml17
-rw-r--r--scilab/modules/core/help/ru_RU/configuration/getshell.xml7
-rw-r--r--scilab/modules/core/help/ru_RU/configuration/getversion.xml45
-rw-r--r--scilab/modules/core/help/ru_RU/configuration/ver.xml12
-rw-r--r--scilab/modules/core/help/ru_RU/error_handling/lasterror.xml19
-rw-r--r--scilab/modules/core/help/ru_RU/startup.xml13
-rw-r--r--scilab/modules/core/help/ru_RU/types/typename.xml45
-rw-r--r--scilab/modules/core/help/ru_RU/variables/exists.xml29
-rw-r--r--scilab/modules/core/help/ru_RU/variables/isdef.xml21
-rw-r--r--scilab/modules/core/help/ru_RU/variables/who.xml88
-rw-r--r--scilab/modules/core/help/ru_RU/variables/who_user.xml30
85 files changed, 1262 insertions, 629 deletions
diff --git a/scilab/modules/core/help/en_US/configuration/banner.xml b/scilab/modules/core/help/en_US/configuration/banner.xml
index c38ac43..96dde1c 100644
--- a/scilab/modules/core/help/en_US/configuration/banner.xml
+++ b/scilab/modules/core/help/en_US/configuration/banner.xml
@@ -12,13 +12,24 @@
12 <refsection> 12 <refsection>
13 <title>Description</title> 13 <title>Description</title>
14 <para> 14 <para>
15 <literal>banner</literal> shows Scilab banner. 15 <literal>banner</literal> shows Scilab's banner.
16 </para> 16 </para>
17 </refsection> 17 </refsection>
18 <refsection> 18 <refsection>
19 <title>Examples</title> 19 <title>Examples</title>
20 <programlisting role="example"><![CDATA[ 20 <programlisting role="example"><![CDATA[
21clc();banner() 21clc, banner()
22 ]]></programlisting> 22 ]]></programlisting>
23 <screen><![CDATA[
24 ___________________________________________
25 scilab-6.1.0
26
27 ESI Group
28 Copyright (c) 2017-2021 (ESI Group)
29 Copyright (c) 2011-2017 (Scilab Enterprises)
30 Copyright (c) 1989-2012 (INRIA)
31 Copyright (c) 1989-2007 (ENPC)
32 ___________________________________________
33]]></screen>
23 </refsection> 34 </refsection>
24</refentry> 35</refentry>
diff --git a/scilab/modules/core/help/en_US/configuration/getdebuginfo.xml b/scilab/modules/core/help/en_US/configuration/getdebuginfo.xml
index eeecfb1..2d5d41b 100644
--- a/scilab/modules/core/help/en_US/configuration/getdebuginfo.xml
+++ b/scilab/modules/core/help/en_US/configuration/getdebuginfo.xml
@@ -6,9 +6,8 @@
6 </refnamediv> 6 </refnamediv>
7 <refsynopsisdiv> 7 <refsynopsisdiv>
8 <title>Syntax</title> 8 <title>Syntax</title>
9 <synopsis>getdebuginfo() 9 <synopsis>
10 dynamic_info = getdebuginfo(); 10 [dynamic_info, static_info] = getdebuginfo()
11 [dynamic_info, static_info] = getdebuginfo();
12 </synopsis> 11 </synopsis>
13 </refsynopsisdiv> 12 </refsynopsisdiv>
14 <refsection> 13 <refsection>
@@ -21,17 +20,56 @@
21 system. 20 system.
22 </para> 21 </para>
23 <para> 22 <para>
24 <code>[dynamic_info,static_info] = getdebuginfo();</code> returns information 23 <literal>[dynamic_info, static_info] = getdebuginfo()</literal> returns information
25 about your system and about Scilab. 24 about your system and about Scilab.
26 </para> 25 </para>
27 </refsection> 26 </refsection>
28 <refsection> 27 <refsection>
29 <title>Examples</title> 28 <title>Examples</title>
30 <programlisting role="example"><![CDATA[ 29 <programlisting role="example"><![CDATA[
31[a,b]=getdebuginfo() 30[a, b] = getdebuginfo()
32 ]]></programlisting> 31 ]]></programlisting>
33 </refsection> 32 <screen><![CDATA[
33--> [a, b] = getdebuginfo()
34 a =
35 "Memory in use: 31 %"
36 "Total Physical Memory (Kbytes): 16618008"
37 "Free Physical Memory (Kbytes): 11381360"
38 "Total Paging File (Kbytes): 19108376"
39 "Free Paging File (Kbytes): 10309008"
40 "Total Virtual Memory (Kbytes): 137438953344"
41 "Free Virtual Memory (Kbytes): 137430188892"
42 "Free Extended Memory (Kbytes): 0"
43 "Operating System: Windows 8 x64"
44 "Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz"
45 "Number of processors: 12"
46 "Number of Video cards: 2"
47 "Video card #0: Intel(R) UHD Graphics 630"
48 "Video card #1: NVIDIA GeForce GTX 1660 Ti"
49 "Primary Video card driver version: 27.20.100.8681"
50 "Screen size: 1920 x 1080 32 bits"
51 "Number of Monitors: 1"
52 "Path: C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;..."
53 "ComSpec: C:\WINDOWS\system32\cmd.exe"
54 "TMP : C:\Users\me\AppData\Local\Temp"
55 "TEMP: C:\Users\me\AppData\Local\Temp"
34 56
57 b =
58 "Version: scilab-6.1.0"
59 "Compilation date: Feb 25 2020"
60 "Compilation time: 11:34:32"
61 "Compiler Architecture: X64"
62 "Compiled with Microsoft compiler (191627035)"
63 "BLAS library optimized version: MKL"
64 "XML version: 2.9.1"
65 "Tcl/Tk: Enable"
66 "TCL version: 8.5.9"
67 "TK version: 8.5.9"
68 "Path separator: ;"
69 "Directory separator: \"
70 "PCRE Version: 8.21"
71]]></screen>
72 </refsection>
35 <refsection role="see also"> 73 <refsection role="see also">
36 <title>See also</title> 74 <title>See also</title>
37 <simplelist type="inline"> 75 <simplelist type="inline">
diff --git a/scilab/modules/core/help/en_US/configuration/getmemory.xml b/scilab/modules/core/help/en_US/configuration/getmemory.xml
index bbbb4a6..2c6b983 100644
--- a/scilab/modules/core/help/en_US/configuration/getmemory.xml
+++ b/scilab/modules/core/help/en_US/configuration/getmemory.xml
@@ -9,7 +9,7 @@
9 </refnamediv> 9 </refnamediv>
10 <refsynopsisdiv> 10 <refsynopsisdiv>
11 <title>Syntax</title> 11 <title>Syntax</title>
12 <synopsis>[free, total]=getmemory()</synopsis> 12 <synopsis>[free, total] = getmemory()</synopsis>
13 </refsynopsisdiv> 13 </refsynopsisdiv>
14 <refsection> 14 <refsection>
15 <title>Description</title> 15 <title>Description</title>
diff --git a/scilab/modules/core/help/en_US/configuration/getmodules.xml b/scilab/modules/core/help/en_US/configuration/getmodules.xml
index 08e5937..23dd78c 100644
--- a/scilab/modules/core/help/en_US/configuration/getmodules.xml
+++ b/scilab/modules/core/help/en_US/configuration/getmodules.xml
@@ -2,13 +2,12 @@
2<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="en" xml:id="getmodules"> 2<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="en" xml:id="getmodules">
3 <refnamediv> 3 <refnamediv>
4 <refname>getmodules</refname> 4 <refname>getmodules</refname>
5 <refpurpose>returns list of modules installed in 5 <refpurpose>lists modules installed in Scilab
6 Scilab
7 </refpurpose> 6 </refpurpose>
8 </refnamediv> 7 </refnamediv>
9 <refsynopsisdiv> 8 <refsynopsisdiv>
10 <title>Syntax</title> 9 <title>Syntax</title>
11 <synopsis>res=getmodules()</synopsis> 10 <synopsis>res = getmodules()</synopsis>
12 </refsynopsisdiv> 11 </refsynopsisdiv>
13 <refsection> 12 <refsection>
14 <title>Arguments</title> 13 <title>Arguments</title>
@@ -16,19 +15,15 @@
16 <varlistentry> 15 <varlistentry>
17 <term>res</term> 16 <term>res</term>
18 <listitem> 17 <listitem>
19 <para>a string matrix</para> 18 <para>a column of strings: names of modules installed in Scilab.</para>
20 </listitem> 19 </listitem>
21 </varlistentry> 20 </varlistentry>
22 </variablelist> 21 </variablelist>
23 </refsection> 22 </refsection>
24 <refsection> 23 <refsection>
25 <title>Description</title>
26 <para>Returns list of modules installed in Scilab.</para>
27 </refsection>
28 <refsection>
29 <title>Examples</title> 24 <title>Examples</title>
30 <programlisting role="example"><![CDATA[ 25 <programlisting role="example"><![CDATA[
31modules=getmodules(); 26modules = getmodules();
32find(modules=="core"); 27find(modules=="core");
33with_module("core"); 28with_module("core");
34 ]]></programlisting> 29 ]]></programlisting>
diff --git a/scilab/modules/core/help/en_US/configuration/getos.xml b/scilab/modules/core/help/en_US/configuration/getos.xml
index 92dfcfb..ca6f0dc 100644
--- a/scilab/modules/core/help/en_US/configuration/getos.xml
+++ b/scilab/modules/core/help/en_US/configuration/getos.xml
@@ -9,8 +9,7 @@
9 <refsynopsisdiv> 9 <refsynopsisdiv>
10 <title>Syntax</title> 10 <title>Syntax</title>
11 <synopsis> 11 <synopsis>
12 OS=getos() 12 [OS, Version] = getos()
13 [OS,Version]=getos()
14 </synopsis> 13 </synopsis>
15 </refsynopsisdiv> 14 </refsynopsisdiv>
16 <refsection> 15 <refsection>
@@ -22,8 +21,22 @@
22 <refsection> 21 <refsection>
23 <title>Examples</title> 22 <title>Examples</title>
24 <programlisting role="example"><![CDATA[ 23 <programlisting role="example"><![CDATA[
25OS=getos() 24OS = getos()
26[OS,version] = getos() 25[OS, version] = getos()
26 ]]></programlisting>
27 <screen><![CDATA[
28--> OS = getos()
29 OS =
30 "Windows"
31
32--> [OS, version] = getos()
33 OS =
34 "Windows"
35
36 version =
37 "8 x64"
38]]></screen>
39 <programlisting role="example"><![CDATA[
27if (getos() == "Windows") then 40if (getos() == "Windows") then
28 disp("Scilab on Windows"); 41 disp("Scilab on Windows");
29end 42end
@@ -36,7 +49,6 @@ end
36if (getos() == "Darwin") then 49if (getos() == "Darwin") then
37 disp("Scilab on MacOs"); 50 disp("Scilab on MacOs");
38end 51end
39 52 ]]></programlisting>
40 ]]></programlisting>
41 </refsection> 53 </refsection>
42</refentry> 54</refentry>
diff --git a/scilab/modules/core/help/en_US/configuration/getscilabmode.xml b/scilab/modules/core/help/en_US/configuration/getscilabmode.xml
index 688e25e..ca854bb 100644
--- a/scilab/modules/core/help/en_US/configuration/getscilabmode.xml
+++ b/scilab/modules/core/help/en_US/configuration/getscilabmode.xml
@@ -13,25 +13,30 @@
13 </refsynopsisdiv> 13 </refsynopsisdiv>
14 <refsection> 14 <refsection>
15 <title>Description</title> 15 <title>Description</title>
16 <para>Returns scilab mode. 4 modes are possible: STD, API, NW, NWNI.</para> 16 <para>Returns scilab mode. 4 modes are possible: "STD", "API", "NW", "NWNI".</para>
17 <para> 17 <para>
18 <literal>API</literal>: Scilab is launch as an API. 18 <literal>"API"</literal>: Scilab is launch as an API.
19 </para> 19 </para>
20 <para> 20 <para>
21 <literal>STD</literal>: the standard Scilab (gui, plot ...). 21 <literal>"STD"</literal>: the standard Scilab (gui, plot ...).
22 </para> 22 </para>
23 <para> 23 <para>
24 <literal>NW</literal>: Scilab in command line with the plots. 24 <literal>"NW"</literal>: Scilab in command line with the plots.
25 </para> 25 </para>
26 <para> 26 <para>
27 <literal>NWNI</literal>: Scilab in command line without any graphics. 27 <literal>"NWNI"</literal>: Scilab in command line without any graphics.
28 </para> 28 </para>
29 </refsection> 29 </refsection>
30 <refsection> 30 <refsection>
31 <title>Examples</title> 31 <title>Examples</title>
32 <programlisting role="example"><![CDATA[ 32 <programlisting role="example"><![CDATA[
33getscilabmode() 33getscilabmode()
34 ]]></programlisting> 34 ]]></programlisting>
35 <screen><![CDATA[
36--> getscilabmode()
37 ans =
38 "STD"
39]]></screen>
35 </refsection> 40 </refsection>
36 <refsection role="see also"> 41 <refsection role="see also">
37 <title>See also</title> 42 <title>See also</title>
diff --git a/scilab/modules/core/help/en_US/configuration/getshell.xml b/scilab/modules/core/help/en_US/configuration/getshell.xml
index 4835482..b64bee8 100644
--- a/scilab/modules/core/help/en_US/configuration/getshell.xml
+++ b/scilab/modules/core/help/en_US/configuration/getshell.xml
@@ -2,8 +2,7 @@
2<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="en" xml:id="getshell"> 2<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="en" xml:id="getshell">
3 <refnamediv> 3 <refnamediv>
4 <refname>getshell</refname> 4 <refname>getshell</refname>
5 <refpurpose>returns current command 5 <refpurpose>returns current command interpreter
6 interpreter.
7 </refpurpose> 6 </refpurpose>
8 </refnamediv> 7 </refnamediv>
9 <refsynopsisdiv> 8 <refsynopsisdiv>
@@ -20,6 +19,11 @@
20 <title>Examples</title> 19 <title>Examples</title>
21 <programlisting role="example"><![CDATA[ 20 <programlisting role="example"><![CDATA[
22getshell() 21getshell()
23 ]]></programlisting> 22 ]]></programlisting>
23 <screen><![CDATA[
24--> getshell()
25 ans =
26 "cmd"
27]]></screen>
24 </refsection> 28 </refsection>
25</refentry> 29</refentry>
diff --git a/scilab/modules/core/help/en_US/configuration/getversion.xml b/scilab/modules/core/help/en_US/configuration/getversion.xml
index 6aae79b..a417e6b 100644
--- a/scilab/modules/core/help/en_US/configuration/getversion.xml
+++ b/scilab/modules/core/help/en_US/configuration/getversion.xml
@@ -6,12 +6,12 @@
6 </refnamediv> 6 </refnamediv>
7 <refsynopsisdiv> 7 <refsynopsisdiv>
8 <title>Syntax</title> 8 <title>Syntax</title>
9 <synopsis>version = getversion() 9 <synopsis>
10 [version, opts] = getversion() 10 [version, options] = getversion()
11 [COMPILER, ARCH, RELEASE_MODE, RELEASE_DATE, RELEASE_TIME] = (options(1), opt(2), options($-2), options($-1), options($))
11 version_numbers = getversion('scilab') 12 version_numbers = getversion('scilab')
12 versioninfo = getversion('scilab', 'string_info')
13 version_numbers = getversion('&lt;module&gt;') 13 version_numbers = getversion('&lt;module&gt;')
14 versioninfo = getversion('&lt;module&gt;','string_info') 14 version = getversion('&lt;module&gt;','string_info')
15 </synopsis> 15 </synopsis>
16 </refsynopsisdiv> 16 </refsynopsisdiv>
17 <refsection> 17 <refsection>
@@ -20,27 +20,21 @@
20 <varlistentry> 20 <varlistentry>
21 <term>version</term> 21 <term>version</term>
22 <listitem> 22 <listitem>
23 <para>a string</para> 23 <para>a string about version. Example: "scilab-6.1.0"</para>
24 </listitem>
25 </varlistentry>
26 <varlistentry>
27 <term>versioninfo</term>
28 <listitem>
29 <para>a string about version</para>
30 </listitem> 24 </listitem>
31 </varlistentry> 25 </varlistentry>
32 <varlistentry> 26 <varlistentry>
33 <term>version_numbers</term> 27 <term>version_numbers</term>
34 <listitem> 28 <listitem>
35 <para>an integer vector</para> 29 <para>an integer vector</para>
36 <para>ver(1) Major version</para> 30 <para>version_numbers(1) Major version</para>
37 <para>ver(2) Minor version</para> 31 <para>version_numbers(2) Minor version</para>
38 <para>ver(3) Maintenance version</para> 32 <para>version_numbers(3) Maintenance version</para>
39 <para>ver(4) GIT timestamp</para> 33 <para>version_numbers(4) GIT timestamp</para>
40 </listitem> 34 </listitem>
41 </varlistentry> 35 </varlistentry>
42 <varlistentry> 36 <varlistentry>
43 <term>opts</term> 37 <term>options</term>
44 <listitem> 38 <listitem>
45 <para> 39 <para>
46 a vector of string: <literal>[compiler, architecture,[tk, modelicac, ] release_mode, release_date, release_time]</literal> 40 a vector of string: <literal>[compiler, architecture,[tk, modelicac, ] release_mode, release_date, release_time]</literal>
@@ -52,8 +46,8 @@
52 <refsection> 46 <refsection>
53 <title>Description</title> 47 <title>Description</title>
54 <para> 48 <para>
55 <literal>[version, opts] = getversion()</literal> returns in <literal>version</literal> the Scilab version name and in 49 <literal>[version, options] = getversion()</literal> returns in <literal>version</literal> the Scilab version name and in
56 <literal>opts</literal> build options which can be used to determine if 50 <literal>options</literal> build options which can be used to determine if
57 scilab has been build with tk or modelicac and gives release date and time. 51 scilab has been build with tk or modelicac and gives release date and time.
58 </para> 52 </para>
59 <para> [tk, modelicac, atlas,] are optional. </para> 53 <para> [tk, modelicac, atlas,] are optional. </para>
@@ -66,21 +60,13 @@
66 <title>Examples</title> 60 <title>Examples</title>
67 <programlisting role="example"><![CDATA[ 61 <programlisting role="example"><![CDATA[
68getversion() 62getversion()
63[version, options] = getversion()
64[COMPILER, ARCH, RELEASE_MODE, RELEASE_DATE, RELEASE_TIME] = (options(1), opt(2), options($-2), options($-1), options($))
65or(options == 'modelicac')
66or(options == 'tk')
69 67
70[version, opts] = getversion() 68numbers = getversion('scilab')
71COMPILER = opts(1) 69version = getversion('scilab','string_info')
72ARCH = opts(2)
73or(opts == 'modelicac')
74or(opts == 'tk')
75RELEASE_MODE = opts($-2)
76RELEASE_DATE = opts($-1)
77RELEASE_TIME = opts($)
78
79version = getversion('scilab')
80versionstr = getversion('scilab','string_info')
81version = getversion('overloading')
82versionstr = getversion('overloading','string_info')
83
84 ]]></programlisting> 70 ]]></programlisting>
85 </refsection> 71 </refsection>
86 <refsection role="see also"> 72 <refsection role="see also">
diff --git a/scilab/modules/core/help/en_US/configuration/ver.xml b/scilab/modules/core/help/en_US/configuration/ver.xml
index 2f90c22..1d16aa6 100644
--- a/scilab/modules/core/help/en_US/configuration/ver.xml
+++ b/scilab/modules/core/help/en_US/configuration/ver.xml
@@ -42,7 +42,17 @@
42 <title>Examples</title> 42 <title>Examples</title>
43 <programlisting role="example"><![CDATA[ 43 <programlisting role="example"><![CDATA[
44r = ver() 44r = ver()
45 ]]></programlisting> 45 ]]></programlisting>
46 <screen><![CDATA[
47--> r = ver()
48 r =
49 "Scilab Version: " "6.1.1.0"
50 "Operating System: " "Windows 10 10.0"
51 "Java version: " "1.8.0_151"
52 "Java runtime information: " "Java(TM) SE Runtime Environment (build 1.8.0_151-b12)"
53 "Java Virtual Machine information: " "Java HotSpot(TM) 64-Bit Server VM (build 25.151-b12, mixed mode)"
54 "Vendor specification: " "Oracle Corporation"
55]]></screen>
46 </refsection> 56 </refsection>
47 <refsection role="see also"> 57 <refsection role="see also">
48 <title>See also</title> 58 <title>See also</title>
diff --git a/scilab/modules/core/help/en_US/configuration/with_module.xml b/scilab/modules/core/help/en_US/configuration/with_module.xml
index edbb3c2..edb6513 100644
--- a/scilab/modules/core/help/en_US/configuration/with_module.xml
+++ b/scilab/modules/core/help/en_US/configuration/with_module.xml
@@ -44,7 +44,7 @@ if withXML == %t then
44else 44else
45 disp("XML module disabled"); 45 disp("XML module disabled");
46end 46end
47 ]]></programlisting> 47 ]]></programlisting>
48 </refsection> 48 </refsection>
49 49
50 <refsection role="see also"> 50 <refsection role="see also">
diff --git a/scilab/modules/core/help/en_US/error_handling/lasterror.xml b/scilab/modules/core/help/en_US/error_handling/lasterror.xml
index eaf8c1d..5502ca5 100644
--- a/scilab/modules/core/help/en_US/error_handling/lasterror.xml
+++ b/scilab/modules/core/help/en_US/error_handling/lasterror.xml
@@ -6,9 +6,9 @@
6 </refnamediv> 6 </refnamediv>
7 <refsynopsisdiv> 7 <refsynopsisdiv>
8 <title>Syntax</title> 8 <title>Syntax</title>
9 <synopsis>str=lasterror( [opt] ) 9 <synopsis>
10 [str,n]=lasterror([opt]) 10 [str,n,line,func] = lasterror()
11 [str,n,line,func]=lasterror([opt]) 11 [str,n,line,func] = lasterror(opt)
12 </synopsis> 12 </synopsis>
13 </refsynopsisdiv> 13 </refsynopsisdiv>
14 <refsection> 14 <refsection>
diff --git a/scilab/modules/core/help/en_US/startup.xml b/scilab/modules/core/help/en_US/startup.xml
index 62b3043..c64dac0 100644
--- a/scilab/modules/core/help/en_US/startup.xml
+++ b/scilab/modules/core/help/en_US/startup.xml
@@ -15,12 +15,11 @@
15 present) when Scilab is invoked, in addition with the file 15 present) when Scilab is invoked, in addition with the file
16 <link linkend="SCI">SCI</link>/etc/scilab.start. 16 <link linkend="SCI">SCI</link>/etc/scilab.start.
17 </para> 17 </para>
18 </refsection> 18 <warning>
19 <refsection> 19 <para>The last instruction of a startup file must be followed by a newline to be
20 <title>Remarks</title> 20 taken into account.
21 <para>Last line of startup file must be terminated by a newline to be 21 </para>
22 taken into account. 22 </warning>
23 </para>
24 </refsection> 23 </refsection>
25 <refsection> 24 <refsection>
26 <title>Examples</title> 25 <title>Examples</title>
@@ -29,7 +28,7 @@ ls(SCIHOME)
29if ls(SCIHOME+"/scilab.ini") == [] & ls(SCIHOME+"/.scilab") == [] 28if ls(SCIHOME+"/scilab.ini") == [] & ls(SCIHOME+"/.scilab") == []
30 disp("No startup file defined"); 29 disp("No startup file defined");
31end 30end
32 ]]></programlisting> 31 ]]></programlisting>
33 </refsection> 32 </refsection>
34 33
35 <refsection role="see also"> 34 <refsection role="see also">
diff --git a/scilab/modules/core/help/en_US/types/typename.xml b/scilab/modules/core/help/en_US/types/typename.xml
index 9f9901e..7ef53c8 100644
--- a/scilab/modules/core/help/en_US/types/typename.xml
+++ b/scilab/modules/core/help/en_US/types/typename.xml
@@ -6,22 +6,22 @@
6 </refnamediv> 6 </refnamediv>
7 <refsynopsisdiv> 7 <refsynopsisdiv>
8 <title>Syntax</title> 8 <title>Syntax</title>
9 <synopsis>[types [ [,names]]=typename() 9 <synopsis>[indices, onames] = typename()
10 </synopsis> 10 </synopsis>
11 </refsynopsisdiv> 11 </refsynopsisdiv>
12 <refsection> 12 <refsection>
13 <title>Arguments</title> 13 <title>Arguments</title>
14 <variablelist> 14 <variablelist>
15 <varlistentry> 15 <varlistentry>
16 <term>types</term> 16 <term>indices</term>
17 <listitem> 17 <listitem>
18 <para>an integer column vector: the types codes of each defined data types.</para> 18 <para>an integer column vector: the types codes of each defined data types.</para>
19 </listitem> 19 </listitem>
20 </varlistentry> 20 </varlistentry>
21 <varlistentry> 21 <varlistentry>
22 <term>names</term> 22 <term>onames</term>
23 <listitem> 23 <listitem>
24 <para>a column vector of strings: the names associated to type codes.</para> 24 <para>a column vector of strings: overloading codes associated to types.</para>
25 </listitem> 25 </listitem>
26 </varlistentry> 26 </varlistentry>
27 </variablelist> 27 </variablelist>
@@ -29,22 +29,43 @@
29 <refsection> 29 <refsection>
30 <title>Description</title> 30 <title>Description</title>
31 <para> 31 <para>
32 The function and operator overloading make use of a formal name 32 <function>typename</function> returns information on defined data types.
33 associated to data types to form the name of the overloading function
34 (see <link linkend="overloading">overloading</link>). The <function>typename</function> can be used to handle this
35 formal names for hard coded data types (the <literal>tlist</literal> or <literal>mlist</literal>
36 coded data types formal names are defined in another way, see <link linkend="overloading">overloading</link>).
37 </para> 33 </para>
38 <para> 34 <para>
39 <function>typename</function> returns information on defined data types. 35 The function and operator overloading make use of a formal name
36 associated to data types to form the name of the overloading function
37 (see <link linkend="overloading">overloading</link>). The <function>typename</function>
38 can be used to handle this formal names for hard coded data types
39 (the <literal>tlist</literal> or <literal>mlist</literal> coded data types formal
40 names are defined in another way, see <link linkend="overloading">overloading</link>).
40 </para> 41 </para>
41 </refsection> 42 </refsection>
42 <refsection> 43 <refsection>
43 <title>Examples</title> 44 <title>Examples</title>
44 <programlisting role="example"><![CDATA[ 45 <programlisting role="example"><![CDATA[
45[typs,nams]=typename(); 46[ind, onames] = typename();
46disp("First type (double) : " + string(typs(1)) + " / " + nams(1)); 47mprintf("Type index: %3d overloading code: ""%s""\n", ind, onames)
47]]></programlisting> 48 ]]></programlisting>
49 <screen><![CDATA[
50--> mprintf("Type index: %3d overloading code: ""%s""\n", ind, onames)
51Type index: 1 overloading code: "s"
52Type index: 2 overloading code: "p"
53Type index: 4 overloading code: "b"
54Type index: 5 overloading code: "sp"
55Type index: 6 overloading code: "spb"
56Type index: 7 overloading code: "msp"
57Type index: 8 overloading code: "i"
58Type index: 9 overloading code: "h"
59Type index: 10 overloading code: "c"
60Type index: 13 overloading code: "function"
61Type index: 14 overloading code: "f"
62Type index: 15 overloading code: "l"
63Type index: 16 overloading code: "tl"
64Type index: 17 overloading code: "ml"
65Type index: 128 overloading code: "ptr"
66Type index: 129 overloading code: "ip"
67Type index: 130 overloading code: "fptr"
68]]></screen>
48 </refsection> 69 </refsection>
49 70
50 <refsection role="see also"> 71 <refsection role="see also">
diff --git a/scilab/modules/core/help/en_US/variables/exists.xml b/scilab/modules/core/help/en_US/variables/exists.xml
index 02932d7..3328a39 100644
--- a/scilab/modules/core/help/en_US/variables/exists.xml
+++ b/scilab/modules/core/help/en_US/variables/exists.xml
@@ -6,25 +6,18 @@
6 </refnamediv> 6 </refnamediv>
7 <refsynopsisdiv> 7 <refsynopsisdiv>
8 <title>Syntax</title> 8 <title>Syntax</title>
9 <synopsis>ve = exists(name [,where])</synopsis> 9 <synopsis>
10 ve = exists(name)
11 ve = exists(name, where)
12 </synopsis>
10 </refsynopsisdiv> 13 </refsynopsisdiv>
11 <refsection> 14 <refsection>
12 <title>Arguments</title> 15 <title>Arguments</title>
13 <variablelist> 16 <variablelist>
14 <varlistentry> 17 <varlistentry>
15 <term>ve</term>
16 <listitem>
17 <para>
18 a matrix with the same size as <varname>name</varname> with possible values:
19 <literal>1</literal> if true,
20 <literal>0</literal> if false
21 </para>
22 </listitem>
23 </varlistentry>
24 <varlistentry>
25 <term>name</term> 18 <term>name</term>
26 <listitem> 19 <listitem>
27 <para>a matrix of character strings</para> 20 <para>matrix of character strings: names of queried variables.</para>
28 </listitem> 21 </listitem>
29 </varlistentry> 22 </varlistentry>
30 <varlistentry> 23 <varlistentry>
@@ -37,6 +30,16 @@
37 </para> 30 </para>
38 </listitem> 31 </listitem>
39 </varlistentry> 32 </varlistentry>
33 <varlistentry>
34 <term>ve</term>
35 <listitem>
36 <para>
37 a matrix with the same size as <varname>name</varname> with possible values:
38 <literal>1</literal> if true,
39 <literal>0</literal> if false
40 </para>
41 </listitem>
42 </varlistentry>
40 </variablelist> 43 </variablelist>
41 </refsection> 44 </refsection>
42 <refsection> 45 <refsection>
diff --git a/scilab/modules/core/help/en_US/variables/isdef.xml b/scilab/modules/core/help/en_US/variables/isdef.xml
index a53c461..85be680 100644
--- a/scilab/modules/core/help/en_US/variables/isdef.xml
+++ b/scilab/modules/core/help/en_US/variables/isdef.xml
@@ -20,23 +20,18 @@
20 </refnamediv> 20 </refnamediv>
21 <refsynopsisdiv> 21 <refsynopsisdiv>
22 <title>Syntax</title> 22 <title>Syntax</title>
23 <synopsis>ve = isdef(name [,where])</synopsis> 23 <synopsis>
24 ve = isdef(name)
25 ve = isdef(name, where)
26 </synopsis>
24 </refsynopsisdiv> 27 </refsynopsisdiv>
25 <refsection> 28 <refsection>
26 <title>Arguments</title> 29 <title>Arguments</title>
27 <variablelist> 30 <variablelist>
28 <varlistentry> 31 <varlistentry>
29 <term>ve</term>
30 <listitem>
31 <para>
32 a matrix with the same size as <varname>name</varname> with boolean values
33 </para>
34 </listitem>
35 </varlistentry>
36 <varlistentry>
37 <term>name</term> 32 <term>name</term>
38 <listitem> 33 <listitem>
39 <para>a matrix of character strings</para> 34 <para>matrix of strings: names of queried variables.</para>
40 </listitem> 35 </listitem>
41 </varlistentry> 36 </varlistentry>
42 <varlistentry> 37 <varlistentry>
@@ -50,6 +45,14 @@
50 </para> 45 </para>
51 </listitem> 46 </listitem>
52 </varlistentry> 47 </varlistentry>
48 <varlistentry>
49 <term>ve</term>
50 <listitem>
51 <para>
52 a matrix with the same size as <varname>name</varname> with boolean values
53 </para>
54 </listitem>
55 </varlistentry>
53 </variablelist> 56 </variablelist>
54 </refsection> 57 </refsection>
55 <refsection> 58 <refsection>
diff --git a/scilab/modules/core/help/en_US/variables/who.xml b/scilab/modules/core/help/en_US/variables/who.xml
index f6a1616..6499ace 100644
--- a/scilab/modules/core/help/en_US/variables/who.xml
+++ b/scilab/modules/core/help/en_US/variables/who.xml
@@ -8,23 +8,25 @@
8 <title>Syntax</title> 8 <title>Syntax</title>
9 <synopsis>who 9 <synopsis>who
10 who() 10 who()
11 [names, mem] = who([mode], [sorted]) 11 [names, mem] = who(scope)
12 [names, mem] = who(scope, sorted)
13 [names, mem] = who(sorted)
12 </synopsis> 14 </synopsis>
13 </refsynopsisdiv> 15 </refsynopsisdiv>
14 <refsection> 16 <refsection>
15 <title>Arguments</title> 17 <title>Arguments</title>
16 <variablelist> 18 <variablelist>
17 <varlistentry> 19 <varlistentry>
18 <term>mode</term> 20 <term>scope</term>
19 <listitem> 21 <listitem>
20 <para> 22 <para>
21 <literal>local</literal>/<literal>get</literal>: list visible variables (not only in current function). 23 <literal>"local"</literal> or <literal>"get"</literal>: list visible variables (not only in current function).
22 </para> 24 </para>
23 <para> 25 <para>
24 <literal>scope</literal>/<literal>current</literal>: list variables in the current scope/function. 26 <literal>"scope"</literal> or <literal>"current"</literal>: list variables in the current scope/function.
25 </para> 27 </para>
26 <para> 28 <para>
27 <literal>global</literal>: list global variables. 29 <literal>"global"</literal>: list global variables.
28 </para> 30 </para>
29 </listitem> 31 </listitem>
30 </varlistentry> 32 </varlistentry>
@@ -53,20 +55,17 @@
53 <refsection> 55 <refsection>
54 <title>Examples</title> 56 <title>Examples</title>
55 <programlisting role="example"><![CDATA[ 57 <programlisting role="example"><![CDATA[
56a=1; 58[a, b] = (1, 2);
57b=2; 59[name, mem] = who("local");
58[name, mem]=who("local"); 60position = find(name=="a")
59position=find(name=="a")
60mem(position) // Size used by a 61mem(position) // Size used by a
61position=find(name=="d") // [] 62position = find(name=="d") // []
62 63
63function foo(a,b) 64function foo(a,b)
64 disp(who("scope", "sorted")) 65 disp(who("scope", "sorted"))
65endfunction 66endfunction
66
67foo(1,2); 67foo(1,2);
68 68 ]]></programlisting>
69 ]]></programlisting>
70 </refsection> 69 </refsection>
71 <refsection role="see also"> 70 <refsection role="see also">
72 <title>See also</title> 71 <title>See also</title>
@@ -77,6 +76,9 @@ foo(1,2);
77 <member> 76 <member>
78 <link linkend="who_user">who_user</link> 77 <link linkend="who_user">who_user</link>
79 </member> 78 </member>
79 <member>
80 <link linkend="macrovar">macrovar</link>
81 </member>
80 </simplelist> 82 </simplelist>
81 </refsection> 83 </refsection>
82 <refsection role="history"> 84 <refsection role="history">
@@ -85,7 +87,7 @@ foo(1,2);
85 <revision> 87 <revision>
86 <revnumber>6.0.1</revnumber> 88 <revnumber>6.0.1</revnumber>
87 <revdescription> 89 <revdescription>
88 Add "scope" or "current" mode. 90 Add "scope" or "current" scope.
89 </revdescription> 91 </revdescription>
90 </revision> 92 </revision>
91 </revhistory> 93 </revhistory>
diff --git a/scilab/modules/core/help/en_US/variables/who_user.xml b/scilab/modules/core/help/en_US/variables/who_user.xml
index cf4862d..a57b63d 100644
--- a/scilab/modules/core/help/en_US/variables/who_user.xml
+++ b/scilab/modules/core/help/en_US/variables/who_user.xml
@@ -6,7 +6,10 @@
6 </refnamediv> 6 </refnamediv>
7 <refsynopsisdiv> 7 <refsynopsisdiv>
8 <title>Syntax</title> 8 <title>Syntax</title>
9 <synopsis>varList = who_user([bPrint])</synopsis> 9 <synopsis>
10 varList = who_user()
11 varList = who_user(bPrint)
12 </synopsis>
10 </refsynopsisdiv> 13 </refsynopsisdiv>
11 <refsection> 14 <refsection>
12 <title>Arguments</title> 15 <title>Arguments</title>
@@ -20,9 +23,6 @@
20 </listitem> 23 </listitem>
21 </varlistentry> 24 </varlistentry>
22 </variablelist> 25 </variablelist>
23 </refsection>
24 <refsection>
25 <title>Return value</title>
26 <variablelist> 26 <variablelist>
27 <varlistentry> 27 <varlistentry>
28 <term>varList</term> 28 <term>varList</term>
@@ -43,7 +43,7 @@
43 <refsection> 43 <refsection>
44 <title>Examples</title> 44 <title>Examples</title>
45 <programlisting role="code_scilab"><![CDATA[ 45 <programlisting role="code_scilab"><![CDATA[
46clear; 46clear
47who_user() 47who_user()
48who_user(%t) 48who_user(%t)
49who_user(%f) 49who_user(%f)
@@ -52,9 +52,7 @@ b = 2;
52who_user() 52who_user()
53who_user(%t) 53who_user(%t)
54who_user(%f) 54who_user(%f)
55clear; 55 ]]></programlisting>
56 ]]>
57 </programlisting>
58 </refsection> 56 </refsection>
59 <refsection role="see also"> 57 <refsection role="see also">
60 <title>See also</title> 58 <title>See also</title>
diff --git a/scilab/modules/core/help/fr_FR/configuration/banner.xml b/scilab/modules/core/help/fr_FR/configuration/banner.xml
index dad9e99..fad6e98 100644
--- a/scilab/modules/core/help/fr_FR/configuration/banner.xml
+++ b/scilab/modules/core/help/fr_FR/configuration/banner.xml
@@ -15,7 +15,18 @@
15 <refsection> 15 <refsection>
16 <title>Exemples</title> 16 <title>Exemples</title>
17 <programlisting role="example"><![CDATA[ 17 <programlisting role="example"><![CDATA[
18clc();banner() 18clc, banner()
19 ]]></programlisting> 19 ]]></programlisting>
20 <screen><![CDATA[
21 ___________________________________________
22 scilab-6.1.0
23
24 ESI Group
25 Copyright (c) 2017-2021 (ESI Group)
26 Copyright (c) 2011-2017 (Scilab Enterprises)
27 Copyright (c) 1989-2012 (INRIA)
28 Copyright (c) 1989-2007 (ENPC)
29 ___________________________________________
30]]></screen>
20 </refsection> 31 </refsection>
21</refentry> 32</refentry>
diff --git a/scilab/modules/core/help/fr_FR/configuration/getos.xml b/scilab/modules/core/help/fr_FR/configuration/getos.xml
index 2b90eaa..0a59c0d 100644
--- a/scilab/modules/core/help/fr_FR/configuration/getos.xml
+++ b/scilab/modules/core/help/fr_FR/configuration/getos.xml
@@ -24,8 +24,22 @@
24 <refsection> 24 <refsection>
25 <title>Exemples</title> 25 <title>Exemples</title>
26 <programlisting role="example"><![CDATA[ 26 <programlisting role="example"><![CDATA[
27OS=getos() 27OS = getos()
28[OS,version] = getos() 28[OS, version] = getos()
29 ]]></programlisting>
30 <screen><![CDATA[
31--> OS = getos()
32 OS =
33 "Windows"
34
35--> [OS, version] = getos()
36 OS =
37 "Windows"
38
39 version =
40 "8 x64"
41]]></screen>
42 <programlisting role="example"><![CDATA[
29if (getos() == "Windows") then disp("Scilab on Windows"); end 43if (getos() == "Windows") then disp("Scilab on Windows"); end
30if (getos() == "Linux") then disp("Scilab on Linux"); end 44if (getos() == "Linux") then disp("Scilab on Linux"); end
31if (getos() == "SunOS") then disp("Scilab on Solaris"); end 45if (getos() == "SunOS") then disp("Scilab on Solaris"); end
diff --git a/scilab/modules/core/help/fr_FR/configuration/getshell.xml b/scilab/modules/core/help/fr_FR/configuration/getshell.xml
index e0ad4fe..00d6c4a 100644
--- a/scilab/modules/core/help/fr_FR/configuration/getshell.xml
+++ b/scilab/modules/core/help/fr_FR/configuration/getshell.xml
@@ -2,8 +2,8 @@
2<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="fr" xml:id="getshell"> 2<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="fr" xml:id="getshell">
3 <refnamediv> 3 <refnamediv>
4 <refname>getshell</refname> 4 <refname>getshell</refname>
5 <refpurpose>retourne le nom de l'interpreteur de 5 <refpurpose>
6 commandes. 6 retourne le nom de l'interpreteur de commandes
7 </refpurpose> 7 </refpurpose>
8 </refnamediv> 8 </refnamediv>
9 <refsynopsisdiv> 9 <refsynopsisdiv>
@@ -21,6 +21,11 @@
21 <title>Exemples</title> 21 <title>Exemples</title>
22 <programlisting role="example"><![CDATA[ 22 <programlisting role="example"><![CDATA[
23getshell() 23getshell()
24 ]]></programlisting> 24 ]]></programlisting>
25 <screen><![CDATA[
26--> getshell()
27 ans =
28 "cmd"
29]]></screen>
25 </refsection> 30 </refsection>
26</refentry> 31</refentry>
diff --git a/scilab/modules/core/help/fr_FR/configuration/with_macros_source.xml b/scilab/modules/core/help/fr_FR/configuration/with_macros_source.xml
index a1d6700..1357ec2 100644
--- a/scilab/modules/core/help/fr_FR/configuration/with_macros_source.xml
+++ b/scilab/modules/core/help/fr_FR/configuration/with_macros_source.xml
@@ -6,7 +6,7 @@
6 </refnamediv> 6 </refnamediv>
7 <refsynopsisdiv> 7 <refsynopsisdiv>
8 <title>Séquence d'appel</title> 8 <title>Séquence d'appel</title>
9 <synopsis>r=with_macros_source()</synopsis> 9 <synopsis>r = with_macros_source()</synopsis>
10 </refsynopsisdiv> 10 </refsynopsisdiv>
11 <refsection> 11 <refsection>
12 <title>Paramètres</title> 12 <title>Paramètres</title>
diff --git a/scilab/modules/core/help/fr_FR/debugging/where.xml b/scilab/modules/core/help/fr_FR/debugging/where.xml
index 1b715ee..c05159a 100644
--- a/scilab/modules/core/help/fr_FR/debugging/where.xml
+++ b/scilab/modules/core/help/fr_FR/debugging/where.xml
@@ -9,7 +9,9 @@
9 </refnamediv> 9 </refnamediv>
10 <refsynopsisdiv> 10 <refsynopsisdiv>
11 <title>Séquence d'appel</title> 11 <title>Séquence d'appel</title>
12 <synopsis>[linenum,mac]=where()</synopsis> 12 <synopsis>
13 [linenum, mac] = where()
14 </synopsis>
13 </refsynopsisdiv> 15 </refsynopsisdiv>
14 <refsection> 16 <refsection>
15 <title>Paramètres</title> 17 <title>Paramètres</title>
diff --git a/scilab/modules/core/help/fr_FR/startup.xml b/scilab/modules/core/help/fr_FR/startup.xml
index a58d875..490a090 100644
--- a/scilab/modules/core/help/fr_FR/startup.xml
+++ b/scilab/modules/core/help/fr_FR/startup.xml
@@ -15,12 +15,11 @@
15 (s'ils existent) au démarrage de Scilab, ainsi que le fichier 15 (s'ils existent) au démarrage de Scilab, ainsi que le fichier
16 <link linkend="SCI">SCI</link>/etc/scilab.start. 16 <link linkend="SCI">SCI</link>/etc/scilab.start.
17 </para> 17 </para>
18 </refsection> 18 <warning>
19 <refsection> 19 <para>la dernière ligne utile d'un fichier de démarrage doit obligatoirement être
20 <title>Remark</title> 20 suivie d'une ligne vide pour être prise en compte.
21 <para>les fichiers de démarrage doivent obligatoirement comporter une 21 </para>
22 nouvelle ligne en fin de fichier pour être pris en compte. 22 </warning>
23 </para>
24 </refsection> 23 </refsection>
25 <refsection role="see also"> 24 <refsection role="see also">
26 <title>Voir aussi</title> 25 <title>Voir aussi</title>
diff --git a/scilab/modules/core/help/fr_FR/types/typename.xml b/scilab/modules/core/help/fr_FR/types/typename.xml
index 8ca588b..fe26c1c 100644
--- a/scilab/modules/core/help/fr_FR/types/typename.xml
+++ b/scilab/modules/core/help/fr_FR/types/typename.xml
@@ -6,23 +6,26 @@
6 </refnamediv> 6 </refnamediv>
7 <refsynopsisdiv> 7 <refsynopsisdiv>
8 <title>Séquence d'appel</title> 8 <title>Séquence d'appel</title>
9 <synopsis>[types [ [,names]]=typename() 9 <synopsis>
10 [indices, onames] = typename()
10 </synopsis> 11 </synopsis>
11 </refsynopsisdiv> 12 </refsynopsisdiv>
12 <refsection> 13 <refsection>
13 <title>Paramètres</title> 14 <title>Paramètres</title>
14 <variablelist> 15 <variablelist>
15 <varlistentry> 16 <varlistentry>
16 <term>types </term> 17 <term>indices</term>
17 <listitem> 18 <listitem>
18 <para>vecteur colonne d'entiers, les codes des types de variables 19 <para>vecteur colonne d'entiers, les codes des types de variables
19 </para> 20 </para>
20 </listitem> 21 </listitem>
21 </varlistentry> 22 </varlistentry>
22 <varlistentry> 23 <varlistentry>
23 <term>names </term> 24 <term>onames</term>
24 <listitem> 25 <listitem>
25 <para>vecteur colonne de chaînes de caractères, les noms associés à chaque code 26 <para>
27 vecteur colonne de chaînes de caractères : nom des codes de surcharge
28 associés aux différents types de données.
26 </para> 29 </para>
27 </listitem> 30 </listitem>
28 </varlistentry> 31 </varlistentry>
@@ -31,20 +34,43 @@
31 <refsection> 34 <refsection>
32 <title>Description</title> 35 <title>Description</title>
33 <para> 36 <para>
34 La surcharge des opérateurs et primitives utilise des noms formels associés à 37 <literal>typename</literal> renvoie les informations associées aux types de données déjà définis.
35 chaque type de variable pour former les noms des fonctions de surcharge
36 (voir <literal>overloading</literal>). <literal>typename</literal> peut être utilisé pour gérer ces noms pour les types natifs de variables (les noms formels pour les types <literal>tlist</literal> ou <literal>mlist</literal> sont définis autrement, pour ceci voir <literal>overloading</literal>).
37 </para> 38 </para>
38 <para> 39 <para>
39 <literal>typename</literal> renvoie les informations associées aux types de données déjà définis. 40 La surcharge des opérateurs et primitives utilise des noms formels associés à
41 chaque type de variable pour former les noms des fonctions de surcharge
42 (voir <literal>overloading</literal>). <literal>typename</literal> peut être utilisé
43 pour gérer ces noms pour les types natifs de variables (les noms formels pour les types
44 <literal>tlist</literal> ou <literal>mlist</literal> sont définis autrement.
45 Pour ceci, voir <link linkend="overloading">overloading</link>).
40 </para> 46 </para>
41 </refsection> 47 </refsection>
42 <refsection> 48 <refsection>
43 <title>Exemples</title> 49 <title>Exemples</title>
44 <programlisting role="example"><![CDATA[ 50 <programlisting role="example"><![CDATA[
45[typs,nams]=typename(); 51[ind, onames] = typename();
46disp("First type (double) : " + string(typs(1)) + " / " + nams(1)); 52mprintf("Type index: %3d overloading code: ""%s""\n", ind, onames)
47]]></programlisting> 53 ]]></programlisting>
54 <screen><![CDATA[
55--> mprintf("Type index: %3d overloading code: ""%s""\n", ind, onames)
56Type index: 1 overloading code: "s"
57Type index: 2 overloading code: "p"
58Type index: 4 overloading code: "b"
59Type index: 5 overloading code: "sp"
60Type index: 6 overloading code: "spb"
61Type index: 7 overloading code: "msp"
62Type index: 8 overloading code: "i"
63Type index: 9 overloading code: "h"
64Type index: 10 overloading code: "c"
65Type index: 13 overloading code: "function"
66Type index: 14 overloading code: "f"
67Type index: 15 overloading code: "l"
68Type index: 16 overloading code: "tl"
69Type index: 17 overloading code: "ml"
70Type index: 128 overloading code: "ptr"
71Type index: 129 overloading code: "ip"
72Type index: 130 overloading code: "fptr"
73]]></screen>
48 </refsection> 74 </refsection>
49 75
50 <refsection role="see also"> 76 <refsection role="see also">
diff --git a/scilab/modules/core/help/fr_FR/variables/exists.xml b/scilab/modules/core/help/fr_FR/variables/exists.xml
index 4491ddf..abd881f 100644
--- a/scilab/modules/core/help/fr_FR/variables/exists.xml
+++ b/scilab/modules/core/help/fr_FR/variables/exists.xml
@@ -8,7 +8,10 @@
8 </refnamediv> 8 </refnamediv>
9 <refsynopsisdiv> 9 <refsynopsisdiv>
10 <title>Séquence d'appel</title> 10 <title>Séquence d'appel</title>
11 <synopsis>ve = exists(name [,where])</synopsis> 11 <synopsis>
12 ve = exists(name)
13 ve = exists(name, where)
14 </synopsis>
12 </refsynopsisdiv> 15 </refsynopsisdiv>
13 <refsection> 16 <refsection>
14 <title>Paramètres</title> 17 <title>Paramètres</title>
diff --git a/scilab/modules/core/help/fr_FR/variables/isdef.xml b/scilab/modules/core/help/fr_FR/variables/isdef.xml
index 9f3a128..5c01e91 100644
--- a/scilab/modules/core/help/fr_FR/variables/isdef.xml
+++ b/scilab/modules/core/help/fr_FR/variables/isdef.xml
@@ -6,7 +6,10 @@
6 </refnamediv> 6 </refnamediv>
7 <refsynopsisdiv> 7 <refsynopsisdiv>
8 <title>Séquence d'appel</title> 8 <title>Séquence d'appel</title>
9 <synopsis>ve = isdef(name [,where])</synopsis> 9 <synopsis>
10 ve = isdef(name)
11 ve = isdef(name, where)
12 </synopsis>
10 </refsynopsisdiv> 13 </refsynopsisdiv>
11 <refsection> 14 <refsection>
12 <title>Paramètres</title> 15 <title>Paramètres</title>
diff --git a/scilab/modules/core/help/fr_FR/variables/who.xml b/scilab/modules/core/help/fr_FR/variables/who.xml
index 9b4bfa5..cd5333a 100644
--- a/scilab/modules/core/help/fr_FR/variables/who.xml
+++ b/scilab/modules/core/help/fr_FR/variables/who.xml
@@ -8,23 +8,27 @@
8 <title>Séquence d'appel</title> 8 <title>Séquence d'appel</title>
9 <synopsis>who 9 <synopsis>who
10 who() 10 who()
11 [names, mem] = who([mode], [sorted]) 11 [names, mem] = who(scope)
12 </synopsis> 12 [names, mem] = who(sorted)
13 [names, mem] = who(scope, sorted)
14 </synopsis>
13 </refsynopsisdiv> 15 </refsynopsisdiv>
14 <refsection> 16 <refsection>
15 <title>Arguments</title> 17 <title>Arguments</title>
16 <variablelist> 18 <variablelist>
17 <varlistentry> 19 <varlistentry>
18 <term>mode</term> 20 <term>scope</term>
19 <listitem> 21 <listitem>
20 <para> 22 <para>
21 <literal>local</literal>/<literal>get</literal>: liste les variables visibles (pas seulement dans la fonction courrante). 23 <literal>"local"</literal> ou <literal>"get"</literal>: liste les variables
24 visibles (pas seulement dans la fonction courrante).
22 </para> 25 </para>
23 <para> 26 <para>
24 <literal>scope</literal>/<literal>current</literal>: liste les variables dans la fonction courrante. 27 <literal>"scope"</literal> ou <literal>"current"</literal>: liste les variables
28 dans la fonction courrante.
25 </para> 29 </para>
26 <para> 30 <para>
27 <literal>global</literal>: liste les variables globales. 31 <literal>"global"</literal>: liste les variables globales.
28 </para> 32 </para>
29 </listitem> 33 </listitem>
30 </varlistentry> 34 </varlistentry>
@@ -32,7 +36,8 @@
32 <term>sorted</term> 36 <term>sorted</term>
33 <listitem> 37 <listitem>
34 <para> 38 <para>
35 Valeur booléenne pour spécifier si la sortie doit être triée par ordre alphabétique. 39 Valeur booléenne pour spécifier si la sortie doit être triée par ordre
40 alphabétique.
36 </para> 41 </para>
37 </listitem> 42 </listitem>
38 </varlistentry> 43 </varlistentry>
@@ -53,19 +58,16 @@
53 <refsection> 58 <refsection>
54 <title>Examples</title> 59 <title>Examples</title>
55 <programlisting role="example"><![CDATA[ 60 <programlisting role="example"><![CDATA[
56a=1; 61[a, b] = (1, 2);
57b=2; 62[name, mem] = who("local");
58[name, mem]=who("local"); 63position = find(name=="a")
59position=find(name=="a")
60mem(position) // Size used by a 64mem(position) // Size used by a
61position=find(name=="d") // [] 65position = find(name=="d") // []
62 66
63function foo(a,b) 67function foo(a,b)
64 disp(who("scope", "sorted")) 68 disp(who("scope", "sorted"))
65endfunction 69endfunction
66
67foo(1,2); 70foo(1,2);
68
69 ]]></programlisting> 71 ]]></programlisting>
70 </refsection> 72 </refsection>
71 <refsection role="see also"> 73 <refsection role="see also">
@@ -77,6 +79,9 @@ foo(1,2);
77 <member> 79 <member>
78 <link linkend="who_user">who_user</link> 80 <link linkend="who_user">who_user</link>
79 </member> 81 </member>
82 <member>
83 <link linkend="macrovar">macrovar</link>
84 </member>
80 </simplelist> 85 </simplelist>
81 </refsection> 86 </refsection>
82 <refsection role="history"> 87 <refsection role="history">
diff --git a/scilab/modules/core/help/ja_JP/configuration/banner.xml b/scilab/modules/core/help/ja_JP/configuration/banner.xml
index 004f41d..8bcaac7 100644
--- a/scilab/modules/core/help/ja_JP/configuration/banner.xml
+++ b/scilab/modules/core/help/ja_JP/configuration/banner.xml
@@ -16,7 +16,18 @@
16 <refsection> 16 <refsection>
17 <title>例</title> 17 <title>例</title>
18 <programlisting role="example"><![CDATA[ 18 <programlisting role="example"><![CDATA[
19clc();banner() 19clc, banner()
20 ]]></programlisting> 20 ]]></programlisting>
21 <screen><![CDATA[
22 ___________________________________________
23 scilab-6.1.0
24
25 ESI Group
26 Copyright (c) 2017-2021 (ESI Group)
27 Copyright (c) 2011-2017 (Scilab Enterprises)
28 Copyright (c) 1989-2012 (INRIA)
29 Copyright (c) 1989-2007 (ENPC)
30 ___________________________________________
31]]></screen>
21 </refsection> 32 </refsection>
22</refentry> 33</refentry>
diff --git a/scilab/modules/core/help/ja_JP/configuration/getdebuginfo.xml b/scilab/modules/core/help/ja_JP/configuration/getdebuginfo.xml
index 40bb52a..404ffeb 100644
--- a/scilab/modules/core/help/ja_JP/configuration/getdebuginfo.xml
+++ b/scilab/modules/core/help/ja_JP/configuration/getdebuginfo.xml
@@ -6,9 +6,8 @@
6 </refnamediv> 6 </refnamediv>
7 <refsynopsisdiv> 7 <refsynopsisdiv>
8 <title>呼び出し手順</title> 8 <title>呼び出し手順</title>
9 <synopsis>getdebuginfo() 9 <synopsis>
10 dynamic_info = getdebuginfo(); 10 [dynamic_info, static_info] = getdebuginfo()
11 [dynamic_info,static_info] = getdebuginfo();
12 </synopsis> 11 </synopsis>
13 </refsynopsisdiv> 12 </refsynopsisdiv>
14 <refsection> 13 <refsection>
@@ -17,18 +16,58 @@
17 <function>getdebuginfo</function> は, Scilab に関するデバッグ情報を取得します. 16 <function>getdebuginfo</function> は, Scilab に関するデバッグ情報を取得します.
18 </para> 17 </para>
19 <para> 18 <para>
20 <code>dynamic_info = getdebuginfo();</code> はシステムに関する情報を返します. 19 <literal>dynamic_info = getdebuginfo()</literal> はシステムに関する情報を返します.
21 </para> 20 </para>
22 <para> 21 <para>
23 <code>[dynamic_info,static_info] = getdebuginfo();</code> は,システムおよびScilabに 22 <literal>[dynamic_info, static_info] = getdebuginfo()</literal> は,システムおよびScilabに
24 関する情報を返します. 23 関する情報を返します.
25 </para> 24 </para>
26 </refsection> 25 </refsection>
27 <refsection> 26 <refsection>
28 <title>例</title> 27 <title>例</title>
29 <programlisting role="example"><![CDATA[ 28 <programlisting role="example"><![CDATA[
30[a,b]=getdebuginfo() 29[a, b] = getdebuginfo()
31 ]]></programlisting> 30 ]]></programlisting>
31 <screen><![CDATA[
32--> [a, b] = getdebuginfo()
33 a =
34 "Memory in use: 31 %"
35 "Total Physical Memory (Kbytes): 16618008"
36 "Free Physical Memory (Kbytes): 11381360"
37 "Total Paging File (Kbytes): 19108376"
38 "Free Paging File (Kbytes): 10309008"
39 "Total Virtual Memory (Kbytes): 137438953344"
40 "Free Virtual Memory (Kbytes): 137430188892"
41 "Free Extended Memory (Kbytes): 0"
42 "Operating System: Windows 8 x64"
43 "Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz"
44 "Number of processors: 12"
45 "Number of Video cards: 2"
46 "Video card #0: Intel(R) UHD Graphics 630"
47 "Video card #1: NVIDIA GeForce GTX 1660 Ti"
48 "Primary Video card driver version: 27.20.100.8681"
49 "Screen size: 1920 x 1080 32 bits"
50 "Number of Monitors: 1"
51 "Path: C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;..."
52 "ComSpec: C:\WINDOWS\system32\cmd.exe"
53 "TMP : C:\Users\me\AppData\Local\Temp"
54 "TEMP: C:\Users\me\AppData\Local\Temp"
55
56 b =
57 "Version: scilab-6.1.0"
58 "Compilation date: Feb 25 2020"
59 "Compilation time: 11:34:32"
60 "Compiler Architecture: X64"
61 "Compiled with Microsoft compiler (191627035)"
62 "BLAS library optimized version: MKL"
63 "XML version: 2.9.1"
64 "Tcl/Tk: Enable"
65 "TCL version: 8.5.9"
66 "TK version: 8.5.9"
67 "Path separator: ;"
68 "Directory separator: \"
69 "PCRE Version: 8.21"
70]]></screen>
32 </refsection> 71 </refsection>
33 <refsection role="see also"> 72 <refsection role="see also">
34 <title>参照</title> 73 <title>参照</title>
diff --git a/scilab/modules/core/help/ja_JP/configuration/getmodules.xml b/scilab/modules/core/help/ja_JP/configuration/getmodules.xml
index 29295e3..e95b907 100644
--- a/scilab/modules/core/help/ja_JP/configuration/getmodules.xml
+++ b/scilab/modules/core/help/ja_JP/configuration/getmodules.xml
@@ -6,7 +6,7 @@
6 </refnamediv> 6 </refnamediv>
7 <refsynopsisdiv> 7 <refsynopsisdiv>
8 <title>呼出し手順</title> 8 <title>呼出し手順</title>
9 <synopsis>res=getmodules()</synopsis> 9 <synopsis>res = getmodules()</synopsis>
10 </refsynopsisdiv> 10 </refsynopsisdiv>
11 <refsection> 11 <refsection>
12 <title>引数</title> 12 <title>引数</title>
@@ -21,12 +21,13 @@
21 </refsection> 21 </refsection>
22 <refsection> 22 <refsection>
23 <title>説明</title> 23 <title>説明</title>
24 <para>Scilabにインストールされているモジュールの一覧を返します.</para> 24 <para>Scilabにインストールされているモジュールの名前の列を返します.
25 </para>
25 </refsection> 26 </refsection>
26 <refsection> 27 <refsection>
27 <title>例</title> 28 <title>例</title>
28 <programlisting role="example"><![CDATA[ 29 <programlisting role="example"><![CDATA[
29modules=getmodules(); 30modules = getmodules();
30find(modules=="core"); 31find(modules=="core");
31with_module("core"); 32with_module("core");
32 ]]></programlisting> 33 ]]></programlisting>
diff --git a/scilab/modules/core/help/ja_JP/configuration/getos.xml b/scilab/modules/core/help/ja_JP/configuration/getos.xml
index e7588d4..c839b6f 100644
--- a/scilab/modules/core/help/ja_JP/configuration/getos.xml
+++ b/scilab/modules/core/help/ja_JP/configuration/getos.xml
@@ -7,8 +7,7 @@
7 <refsynopsisdiv> 7 <refsynopsisdiv>
8 <title>呼出し手順</title> 8 <title>呼出し手順</title>
9 <synopsis> 9 <synopsis>
10 OS=getos() 10 [OS, Version] = getos()
11 [OS,Version]=getos()
12 </synopsis> 11 </synopsis>
13 </refsynopsisdiv> 12 </refsynopsisdiv>
14 <refsection> 13 <refsection>
@@ -21,8 +20,22 @@
21 <refsection> 20 <refsection>
22 <title>例</title> 21 <title>例</title>
23 <programlisting role="example"><![CDATA[ 22 <programlisting role="example"><![CDATA[
24OS=getos() 23OS = getos()
25[OS,version] = getos() 24[OS, version] = getos()
25 ]]></programlisting>
26 <screen><![CDATA[
27--> OS = getos()
28 OS =
29 "Windows"
30
31--> [OS, version] = getos()
32 OS =
33 "Windows"
34
35 version =
36 "8 x64"
37]]></screen>
38 <programlisting role="example"><![CDATA[
26if (getos() == "Windows") then 39if (getos() == "Windows") then
27 disp("Scilab on Windows"); 40 disp("Scilab on Windows");
28end 41end
@@ -35,7 +48,6 @@ end
35if (getos() == "Darwin") then 48if (getos() == "Darwin") then
36 disp("Scilab on MacOs"); 49 disp("Scilab on MacOs");
37end 50end
38 51 ]]></programlisting>
39 ]]></programlisting>
40 </refsection> 52 </refsection>
41</refentry> 53</refentry>
diff --git a/scilab/modules/core/help/ja_JP/configuration/getscilabmode.xml b/scilab/modules/core/help/ja_JP/configuration/getscilabmode.xml
index 63231db..18819bf 100644
--- a/scilab/modules/core/help/ja_JP/configuration/getscilabmode.xml
+++ b/scilab/modules/core/help/ja_JP/configuration/getscilabmode.xml
@@ -13,25 +13,30 @@
13 </refsynopsisdiv> 13 </refsynopsisdiv>
14 <refsection> 14 <refsection>
15 <title>説明</title> 15 <title>説明</title>
16 <para>Scilabモードを返します. 以下の4 種類のモードがあります : STD , API , NW , NWNI .</para> 16 <para>Scilabモードを返します. 以下の4 種類のモードがあります : "STD", "API", "NW", "NWNI".</para>
17 <para> 17 <para>
18 <literal>API</literal>Scilab はAPIとして起動されますi. 18 <literal>"API"</literal>Scilab はAPIとして起動されますi.
19 </para> 19 </para>
20 <para> 20 <para>
21 <literal>STD</literal>標準的なT Scilab (gui, plot ...) 21 <literal>"STD"</literal>標準的なT Scilab (gui, plot ...)
22 </para> 22 </para>
23 <para> 23 <para>
24 <literal>NW</literal>コマンドライン版 Scilab (プロット機能付き). 24 <literal>"NW"</literal>コマンドライン版 Scilab (プロット機能付き).
25 </para> 25 </para>
26 <para> 26 <para>
27 <literal>NWNI</literal>コマンドライン版Scilab (グラフィックなし). 27 <literal>"NWNI"</literal>コマンドライン版Scilab (グラフィックなし).
28 </para> 28 </para>
29 </refsection> 29 </refsection>
30 <refsection> 30 <refsection>
31 <title>例</title> 31 <title>例</title>
32 <programlisting role="example"><![CDATA[ 32 <programlisting role="example"><![CDATA[
33getscilabmode() 33getscilabmode()
34 ]]></programlisting> 34 ]]></programlisting>
35 <screen><![CDATA[
36--> getscilabmode()
37 ans =
38 "STD"
39]]></screen>
35 </refsection> 40 </refsection>
36 <refsection role="see also"> 41 <refsection role="see also">
37 <title>参照</title> 42 <title>参照</title>
diff --git a/scilab/modules/core/help/ja_JP/configuration/getshell.xml b/scilab/modules/core/help/ja_JP/configuration/getshell.xml
index b72b6f0..54370e295 100644
--- a/scilab/modules/core/help/ja_JP/configuration/getshell.xml
+++ b/scilab/modules/core/help/ja_JP/configuration/getshell.xml
@@ -18,6 +18,11 @@
18 <title>例</title> 18 <title>例</title>
19 <programlisting role="example"><![CDATA[ 19 <programlisting role="example"><![CDATA[
20getshell() 20getshell()
21 ]]></programlisting> 21 ]]></programlisting>
22 <screen><![CDATA[
23--> getshell()
24 ans =
25 "cmd"
26]]></screen>
22 </refsection> 27 </refsection>
23</refentry> 28</refentry>
diff --git a/scilab/modules/core/help/ja_JP/configuration/getversion.xml b/scilab/modules/core/help/ja_JP/configuration/getversion.xml
index f443622..4395c0d 100644
--- a/scilab/modules/core/help/ja_JP/configuration/getversion.xml
+++ b/scilab/modules/core/help/ja_JP/configuration/getversion.xml
@@ -6,12 +6,12 @@
6 </refnamediv> 6 </refnamediv>
7 <refsynopsisdiv> 7 <refsynopsisdiv>
8 <title>呼出し手順</title> 8 <title>呼出し手順</title>
9 <synopsis>version = getversion() 9 <synopsis>
10 [version, opts] = getversion() 10 [version, options] = getversion()
11 [COMPILER, ARCH, RELEASE_MODE, RELEASE_DATE, RELEASE_TIME] = (options(1), opt(2), options($-2), options($-1), options($))
11 version_numbers = getversion('scilab') 12 version_numbers = getversion('scilab')
12 versioninfo = getversion('scilab', 'string_info')
13 version_numbers = getversion('&lt;module&gt;') 13 version_numbers = getversion('&lt;module&gt;')
14 versioninfo = getversion('&lt;module&gt;','string_info') 14 version = getversion('&lt;module&gt;','string_info')
15 </synopsis> 15 </synopsis>
16 </refsynopsisdiv> 16 </refsynopsisdiv>
17 <refsection> 17 <refsection>
@@ -20,27 +20,21 @@
20 <varlistentry> 20 <varlistentry>
21 <term>version</term> 21 <term>version</term>
22 <listitem> 22 <listitem>
23 <para>文字列</para> 23 <para>バージョンに関する文字列. Example: "scilab-6.1.0"</para>
24 </listitem> 24 </listitem>
25 </varlistentry> 25 </varlistentry>
26 <varlistentry> 26 <varlistentry>
27 <term>versioninfo</term> 27 <term>version_numbers</term>
28 <listitem>
29 <para>バージョンに関する文字列</para>
30 </listitem>
31 </varlistentry>
32 <varlistentry>
33 <term>ver</term>
34 <listitem> 28 <listitem>
35 <para>整数ベクトル</para> 29 <para>整数ベクトル</para>
36 <para>ver(1) メジャーバージョン</para> 30 <para>version_numbers(1) メジャーバージョン</para>
37 <para>ver(2) マイナーバージョン</para> 31 <para>version_numbers(2) マイナーバージョン</para>
38 <para>ver(3) メンテナンスバージョン</para> 32 <para>version_numbers(3) メンテナンスバージョン</para>
39 <para>ver(4) GIT タイムスタンプ</para> 33 <para>version_numbers(4) GIT タイムスタンプ</para>
40 </listitem> 34 </listitem>
41 </varlistentry> 35 </varlistentry>
42 <varlistentry> 36 <varlistentry>
43 <term>opts</term> 37 <term>options</term>
44 <listitem> 38 <listitem>
45 <para> 39 <para>
46 文字列のベクトル: 40 文字列のベクトル:
@@ -53,9 +47,9 @@
53 <refsection> 47 <refsection>
54 <title>説明</title> 48 <title>説明</title>
55 <para> 49 <para>
56 <literal>[version, opts] = getversion()</literal>は 50 <literal>[version, options] = getversion()</literal>は
57 Scilab バージョン名を<literal>version</literal>, 51 Scilab バージョン名を<literal>version</literal>,
58 構築オプションを <literal>opts</literal>に返します. 52 構築オプションを <literal>options</literal>に返します.
59 この構築オプションは, 53 この構築オプションは,
60 Scilabが tk または modelica を組み込んで構築されたかどうかを 54 Scilabが tk または modelica を組み込んで構築されたかどうかを
61 定義するために使用され, リリース日や時間も含まれます. 55 定義するために使用され, リリース日や時間も含まれます.
@@ -75,21 +69,13 @@
75 <title>例</title> 69 <title>例</title>
76 <programlisting role="example"><![CDATA[ 70 <programlisting role="example"><![CDATA[
77getversion() 71getversion()
72[version, options] = getversion()
73[COMPILER, ARCH, RELEASE_MODE, RELEASE_DATE, RELEASE_TIME] = (options(1), opt(2), options($-2), options($-1), options($))
74or(options == 'modelicac')
75or(options == 'tk')
78 76
79[version, opts] = getversion() 77numbers = getversion('scilab')
80COMPILER = opts(1) 78version = getversion('scilab','string_info')
81ARCH = opts(2)
82or(opts == 'modelicac')
83or(opts == 'tk')
84RELEASE_MODE = opts($-2)
85RELEASE_DATE = opts($-1)
86RELEASE_TIME = opts($)
87
88version = getversion('scilab')
89versionstr = getversion('scilab','string_info')
90version = getversion('overloading')
91versionstr = getversion('overloading','string_info')
92
93 ]]></programlisting> 79 ]]></programlisting>
94 </refsection> 80 </refsection>
95 <refsection role="see also"> 81 <refsection role="see also">
diff --git a/scilab/modules/core/help/ja_JP/configuration/ver.xml b/scilab/modules/core/help/ja_JP/configuration/ver.xml
index a1202b0..9e7453b 100644
--- a/scilab/modules/core/help/ja_JP/configuration/ver.xml
+++ b/scilab/modules/core/help/ja_JP/configuration/ver.xml
@@ -42,7 +42,17 @@
42 <title>例</title> 42 <title>例</title>
43 <programlisting role="example"><![CDATA[ 43 <programlisting role="example"><![CDATA[
44r = ver() 44r = ver()
45 ]]></programlisting> 45 ]]></programlisting>
46 <screen><![CDATA[
47--> r = ver()
48 r =
49 "Scilab Version: " "6.1.1.0"
50 "Operating System: " "Windows 10 10.0"
51 "Java version: " "1.8.0_151"
52 "Java runtime information: " "Java(TM) SE Runtime Environment (build 1.8.0_151-b12)"
53 "Java Virtual Machine information: " "Java HotSpot(TM) 64-Bit Server VM (build 25.151-b12, mixed mode)"
54 "Vendor specification: " "Oracle Corporation"
55]]></screen>
46 </refsection> 56 </refsection>
47 <refsection role="see also"> 57 <refsection role="see also">
48 <title>参照</title> 58 <title>参照</title>
diff --git a/scilab/modules/core/help/ja_JP/configuration/with_javasci.xml b/scilab/modules/core/help/ja_JP/configuration/with_javasci.xml
index 7cdcba8..0731876 100644
--- a/scilab/modules/core/help/ja_JP/configuration/with_javasci.xml
+++ b/scilab/modules/core/help/ja_JP/configuration/with_javasci.xml
@@ -8,7 +8,7 @@
8 </refnamediv> 8 </refnamediv>
9 <refsynopsisdiv> 9 <refsynopsisdiv>
10 <title>呼び出し手順</title> 10 <title>呼び出し手順</title>
11 <synopsis>r=with_javasci()</synopsis> 11 <synopsis>r = with_javasci()</synopsis>
12 </refsynopsisdiv> 12 </refsynopsisdiv>
13 <refsection> 13 <refsection>
14 <title>引数</title> 14 <title>引数</title>
diff --git a/scilab/modules/core/help/ja_JP/error_handling/lasterror.xml b/scilab/modules/core/help/ja_JP/error_handling/lasterror.xml
index dcc9546..f6cf550 100644
--- a/scilab/modules/core/help/ja_JP/error_handling/lasterror.xml
+++ b/scilab/modules/core/help/ja_JP/error_handling/lasterror.xml
@@ -6,15 +6,22 @@
6 </refnamediv> 6 </refnamediv>
7 <refsynopsisdiv> 7 <refsynopsisdiv>
8 <title>呼出し手順</title> 8 <title>呼出し手順</title>
9 <synopsis>str=lasterror( [opt] ) 9 <synopsis>
10 [str,n]=lasterror([opt]) 10 [str,n,line,func] = lasterror()
11 [str,n,line,func]=lasterror([opt]) 11 [str,n,line,func] = lasterror(opt)
12 </synopsis> 12 </synopsis>
13 </refsynopsisdiv> 13 </refsynopsisdiv>
14 <refsection> 14 <refsection>
15 <title>引数</title> 15 <title>引数</title>
16 <variablelist> 16 <variablelist>
17 <varlistentry> 17 <varlistentry>
18 <term>opt</term>
19 <listitem>
20 <para>論理値, %f の場合, 記録されたメッセージはクリアされる. デフォルトは %t.
21 </para>
22 </listitem>
23 </varlistentry>
24 <varlistentry>
18 <term>str</term> 25 <term>str</term>
19 <listitem> 26 <listitem>
20 <para> 27 <para>
@@ -41,14 +48,6 @@
41 <para>文字列, 直近に記録された関数名</para> 48 <para>文字列, 直近に記録された関数名</para>
42 </listitem> 49 </listitem>
43 </varlistentry> 50 </varlistentry>
44 <varlistentry>
45 <term>opt</term>
46 <listitem>
47 <para>論理値, %f の場合, 記録されたメッセージはクリアされる. デフォルトは
48 %t.
49 </para>
50 </listitem>
51 </varlistentry>
52 </variablelist> 51 </variablelist>
53 </refsection> 52 </refsection>
54 <refsection> 53 <refsection>
diff --git a/scilab/modules/core/help/ja_JP/startup.xml b/scilab/modules/core/help/ja_JP/startup.xml
index a6d9cbe..10a9d0a 100644
--- a/scilab/modules/core/help/ja_JP/startup.xml
+++ b/scilab/modules/core/help/ja_JP/startup.xml
@@ -16,13 +16,12 @@
16 ファイル <link linkend="SCI">SCI</link>/etc/scilab.start と同様に, 16 ファイル <link linkend="SCI">SCI</link>/etc/scilab.start と同様に,
17 Scilabの起動時に自動的に実行されます. 17 Scilabの起動時に自動的に実行されます.
18 </para> 18 </para>
19 </refsection> 19 <warning>
20 <refsection> 20 <para>
21 <title>注意</title> 21 スタートアップファイルの最終行は, 有効とするために
22 <para> 22 改行で終わる必要があります.
23 スタートアップファイルの最終行は, 有効とするために 23 </para>
24 改行で終わる必要があります. 24 </warning>
25 </para>
26 </refsection> 25 </refsection>
27 <refsection> 26 <refsection>
28 <title>例</title> 27 <title>例</title>
diff --git a/scilab/modules/core/help/ja_JP/types/type.xml b/scilab/modules/core/help/ja_JP/types/type.xml
index 09c6a23..9d6b8fe 100644
--- a/scilab/modules/core/help/ja_JP/types/type.xml
+++ b/scilab/modules/core/help/ja_JP/types/type.xml
@@ -24,7 +24,7 @@
24 </refnamediv> 24 </refnamediv>
25 <refsynopsisdiv> 25 <refsynopsisdiv>
26 <title>呼び出し手順</title> 26 <title>呼び出し手順</title>
27 <synopsis>[i]=type(x)</synopsis> 27 <synopsis>i = type(x)</synopsis>
28 </refsynopsisdiv> 28 </refsynopsisdiv>
29 <refsection> 29 <refsection>
30 <title>パラメータ</title> 30 <title>パラメータ</title>
diff --git a/scilab/modules/core/help/ja_JP/types/typename.xml b/scilab/modules/core/help/ja_JP/types/typename.xml
index 778b281..8689d04 100644
--- a/scilab/modules/core/help/ja_JP/types/typename.xml
+++ b/scilab/modules/core/help/ja_JP/types/typename.xml
@@ -6,20 +6,21 @@
6 </refnamediv> 6 </refnamediv>
7 <refsynopsisdiv> 7 <refsynopsisdiv>
8 <title>呼出し手順</title> 8 <title>呼出し手順</title>
9 <synopsis>[types [ [,names]]=typename() 9 <synopsis>
10 [indices, onames] = typename()
10 </synopsis> 11 </synopsis>
11 </refsynopsisdiv> 12 </refsynopsisdiv>
12 <refsection> 13 <refsection>
13 <title>パラメータ</title> 14 <title>パラメータ</title>
14 <variablelist> 15 <variablelist>
15 <varlistentry> 16 <varlistentry>
16 <term>types</term> 17 <term>indices</term>
17 <listitem> 18 <listitem>
18 <para>整数列ベクトル: 各定義済みのデータ型の型コード.</para> 19 <para>整数列ベクトル: 各定義済みのデータ型の型コード.</para>
19 </listitem> 20 </listitem>
20 </varlistentry> 21 </varlistentry>
21 <varlistentry> 22 <varlistentry>
22 <term>names</term> 23 <term>onames</term>
23 <listitem> 24 <listitem>
24 <para>文字列の列ベクトル: 型コードを指す名前.</para> 25 <para>文字列の列ベクトル: 型コードを指す名前.</para>
25 </listitem> 26 </listitem>
@@ -29,6 +30,10 @@
29 <refsection> 30 <refsection>
30 <title>説明</title> 31 <title>説明</title>
31 <para> 32 <para>
33 <literal>typename</literal> は
34 定義済みのデータ型に関する情報を返します.
35 </para>
36 <para>
32 関数および演算子のオーバーロードにおいて, 37 関数および演算子のオーバーロードにおいて,
33 データ型に関連付けられた汎用名を 38 データ型に関連付けられた汎用名を
34 オーバーロード関数の名前を作成する際に指定できる 39 オーバーロード関数の名前を作成する際に指定できる
@@ -39,10 +44,33 @@
39 (<literal>tlist</literal> または <literal>mlist</literal>にコード化されたデータ型の 44 (<literal>tlist</literal> または <literal>mlist</literal>にコード化されたデータ型の
40 場合,汎用名は他の方法で定義されます, <literal>overloading</literal>を参照ください). 45 場合,汎用名は他の方法で定義されます, <literal>overloading</literal>を参照ください).
41 </para> 46 </para>
42 <para> 47 </refsection>
43 <literal>typename</literal> は 48 <refsection>
44 定義済みのデータ型に関する情報を返します. 49 <title>例</title>
45 </para> 50 <programlisting role="example"><![CDATA[
51[ind, onames] = typename();
52mprintf("Type index: %3d overloading code: ""%s""\n", ind, onames)
53 ]]></programlisting>
54 <screen><![CDATA[
55--> mprintf("Type index: %3d overloading code: ""%s""\n", ind, onames)
56Type index: 1 overloading code: "s"
57Type index: 2 overloading code: "p"
58Type index: 4 overloading code: "b"
59Type index: 5 overloading code: "sp"
60Type index: 6 overloading code: "spb"
61Type index: 7 overloading code: "msp"
62Type index: 8 overloading code: "i"
63Type index: 9 overloading code: "h"
64Type index: 10 overloading code: "c"
65Type index: 13 overloading code: "function"
66Type index: 14 overloading code: "f"
67Type index: 15 overloading code: "l"
68Type index: 16 overloading code: "tl"
69Type index: 17 overloading code: "ml"
70Type index: 128 overloading code: "ptr"
71Type index: 129 overloading code: "ip"
72Type index: 130 overloading code: "fptr"
73]]></screen>
46 </refsection> 74 </refsection>
47 <refsection role="see also"> 75 <refsection role="see also">
48 <title>参照</title> 76 <title>参照</title>
diff --git a/scilab/modules/core/help/ja_JP/variables/exists.xml b/scilab/modules/core/help/ja_JP/variables/exists.xml
index f86facd..67269f8 100644
--- a/scilab/modules/core/help/ja_JP/variables/exists.xml
+++ b/scilab/modules/core/help/ja_JP/variables/exists.xml
@@ -6,7 +6,10 @@
6 </refnamediv> 6 </refnamediv>
7 <refsynopsisdiv> 7 <refsynopsisdiv>
8 <title>呼出し手順</title> 8 <title>呼出し手順</title>
9 <synopsis>ve = exists(name [,where])</synopsis> 9 <synopsis>
10 ve = exists(name)
11 ve = exists(name, where)
12 </synopsis>
10 </refsynopsisdiv> 13 </refsynopsisdiv>
11 <refsection> 14 <refsection>
12 <title>引数</title> 15 <title>引数</title>
diff --git a/scilab/modules/core/help/ja_JP/variables/global.xml b/scilab/modules/core/help/ja_JP/variables/global.xml
index 27e3e1f..a285db0 100644
--- a/scilab/modules/core/help/ja_JP/variables/global.xml
+++ b/scilab/modules/core/help/ja_JP/variables/global.xml
@@ -1,85 +1,44 @@
1<?xml version="1.0" encoding="UTF-8"?> 1<?xml version="1.0" encoding="UTF-8"?>
2
3<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="global"> 2<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="global">
4
5 <refnamediv> 3 <refnamediv>
6
7 <refname>global</refname> 4 <refname>global</refname>
8
9 <refpurpose>グローバル変数を定義する</refpurpose> 5 <refpurpose>グローバル変数を定義する</refpurpose>
10
11 </refnamediv> 6 </refnamediv>
12
13 <refsynopsisdiv> 7 <refsynopsisdiv>
14
15 <title>呼出し手順</title> 8 <title>呼出し手順</title>
16
17 <synopsis>global('nam1',...,'namn') 9 <synopsis>global('nam1',...,'namn')
18
19 global nam1 ... namn 10 global nam1 ... namn
20
21 </synopsis> 11 </synopsis>
22
23 </refsynopsisdiv> 12 </refsynopsisdiv>
24
25 <refsection> 13 <refsection>
26
27 <title>引数</title> 14 <title>引数</title>
28
29 <variablelist> 15 <variablelist>
30
31 <varlistentry> 16 <varlistentry>
32
33 <term>nam1,..., namn</term> 17 <term>nam1,..., namn</term>
34
35 <listitem> 18 <listitem>
36
37 <para>有効な変数名</para> 19 <para>有効な変数名</para>
38
39 </listitem> 20 </listitem>
40
41 </varlistentry> 21 </varlistentry>
42
43 </variablelist> 22 </variablelist>
44
45 </refsection> 23 </refsection>
46
47 <refsection> 24 <refsection>
48
49 <title>説明</title> 25 <title>説明</title>
50
51 <para> 26 <para>
52
53 もともと, 各 Scilab 関数は固有のローカルな変数を有し, 27 もともと, 各 Scilab 関数は固有のローカルな変数を有し,
54
55 基本ワークスペースで作成された全ての変数を"読む"または 28 基本ワークスペースで作成された全ての変数を"読む"または
56
57 関数コールにより読むことができます. 29 関数コールにより読むことができます.
58
59 <literal>global</literal> キーワードにより,複数の関数をまたがって 30 <literal>global</literal> キーワードにより,複数の関数をまたがって
60
61 変数を読み/書きすることができます. 31 変数を読み/書きすることができます.
62
63 関数の内部で変数に代入すると,この変数を<literal>global</literal>として 32 関数の内部で変数に代入すると,この変数を<literal>global</literal>として
64
65 宣言した他の関数でも利用可能となります. 33 宣言した他の関数でも利用可能となります.
66
67 </para> 34 </para>
68
69 <para> 35 <para>
70
71 <literal>global</literal>命令を初めて実行した時点で 36 <literal>global</literal>命令を初めて実行した時点で
72
73 そのグローバス変数が存在しない場合,空行列に初期化されます. 37 そのグローバス変数が存在しない場合,空行列に初期化されます.
74
75 </para> 38 </para>
76
77 </refsection> 39 </refsection>
78
79 <refsection> 40 <refsection>
80
81 <title>例</title> 41 <title>例</title>
82
83 <programlisting role="example"><![CDATA[ 42 <programlisting role="example"><![CDATA[
84//最初: 環境でコールし, 関数は変数を共用する 43//最初: 環境でコールし, 関数は変数を共用する
85global a 44global a
@@ -87,6 +46,7 @@ a=1
87deff('y=f1(x)','global a,a=x^2,y=a^2') 46deff('y=f1(x)','global a,a=x^2,y=a^2')
88f1(2) 47f1(2)
89a 48a
49
90//2回目: 3つの関数が変数を共用 50//2回目: 3つの関数が変数を共用
91deff('initdata()','global A C ;A=10,C=30') 51deff('initdata()','global A C ;A=10,C=30')
92deff('letsgo()','global A C ;disp(A) ;C=70') 52deff('letsgo()','global A C ;disp(A) ;C=70')
@@ -95,42 +55,22 @@ initdata()
95letsgo() 55letsgo()
96letsgo1() 56letsgo1()
97 ]]></programlisting> 57 ]]></programlisting>
98
99 </refsection> 58 </refsection>
100
101 <refsection role="see also"> 59 <refsection role="see also">
102
103 <title>参照</title> 60 <title>参照</title>
104
105 <simplelist type="inline"> 61 <simplelist type="inline">
106
107 <member> 62 <member>
108
109 <link linkend="who">who</link> 63 <link linkend="who">who</link>
110
111 </member> 64 </member>
112
113 <member> 65 <member>
114
115 <link linkend="isglobal">isglobal</link> 66 <link linkend="isglobal">isglobal</link>
116
117 </member> 67 </member>
118
119 <member> 68 <member>
120
121 <link linkend="clearglobal">clearglobal</link> 69 <link linkend="clearglobal">clearglobal</link>
122
123 </member> 70 </member>
124
125 <member> 71 <member>
126
127 <link linkend="resume">resume</link> 72 <link linkend="resume">resume</link>
128
129 </member> 73 </member>
130
131 </simplelist> 74 </simplelist>
132
133 </refsection> 75 </refsection>
134 76</refentry> \ No newline at end of file
135</refentry>
136
diff --git a/scilab/modules/core/help/ja_JP/variables/isdef.xml b/scilab/modules/core/help/ja_JP/variables/isdef.xml
index 08e6ae0..ca3b8ee 100644
--- a/scilab/modules/core/help/ja_JP/variables/isdef.xml
+++ b/scilab/modules/core/help/ja_JP/variables/isdef.xml
@@ -20,7 +20,10 @@
20 </refnamediv> 20 </refnamediv>
21 <refsynopsisdiv> 21 <refsynopsisdiv>
22 <title>呼び出し手順</title> 22 <title>呼び出し手順</title>
23 <synopsis>ve = isdef(name [,where])</synopsis> 23 <synopsis>
24 ve = isdef(name)
25 ve = isdef(name, where)
26 </synopsis>
24 </refsynopsisdiv> 27 </refsynopsisdiv>
25 <refsection> 28 <refsection>
26 <title>引数</title> 29 <title>引数</title>
diff --git a/scilab/modules/core/help/ja_JP/variables/who.xml b/scilab/modules/core/help/ja_JP/variables/who.xml
index 4195e08..d913928 100644
--- a/scilab/modules/core/help/ja_JP/variables/who.xml
+++ b/scilab/modules/core/help/ja_JP/variables/who.xml
@@ -8,18 +8,51 @@
8 <title>呼出し手順</title> 8 <title>呼出し手順</title>
9 <synopsis>who 9 <synopsis>who
10 who() 10 who()
11 names = who('local') 11 [names, mem] = who(scope)
12 [names, mem] = who('local') 12 [names, mem] = who(scope, sorted)
13 names = who('global') 13 [names, mem] = who(sorted)
14 [names, mem] = who('global')
15 who('sorted')
16 names = who('local','sorted')
17 [names, mem] = who('local','sorted')
18 names = who('global','sorted')
19 [names, mem] = who('global','sorted')
20 </synopsis> 14 </synopsis>
21 </refsynopsisdiv> 15 </refsynopsisdiv>
22 <refsection> 16 <refsection>
17 <title>設定</title>
18 <variablelist>
19 <varlistentry>
20 <term>scope</term>
21 <listitem>
22 <para>
23 <literal>"local"</literal>/<literal>"get"</literal>: list visible variables (not only in current function).
24 </para>
25 <para>
26 <literal>"scope"</literal>/<literal>"current"</literal>: list variables in the current scope/function.
27 </para>
28 <para>
29 <literal>"global"</literal>: list global variables.
30 </para>
31 </listitem>
32 </varlistentry>
33 <varlistentry>
34 <term>sorted</term>
35 <listitem>
36 <para>
37 Boolean value to specify if output must be sort in alphabetical order.
38 </para>
39 </listitem>
40 </varlistentry>
41 <varlistentry>
42 <term>names</term>
43 <listitem>
44 <para>String matrix with variable names.</para>
45 </listitem>
46 </varlistentry>
47 <varlistentry>
48 <term>mem</term>
49 <listitem>
50 <para>Double matrix with variable used memory in bytes.</para>
51 </listitem>
52 </varlistentry>
53 </variablelist>
54 </refsection>
55 <refsection>
23 <title>説明</title> 56 <title>説明</title>
24 <para> 57 <para>
25 <code>who()</code> は,カレントの変数名を表示します. 58 <code>who()</code> は,カレントの変数名を表示します.
@@ -40,13 +73,17 @@
40 <refsection> 73 <refsection>
41 <title>例</title> 74 <title>例</title>
42 <programlisting role="example"><![CDATA[ 75 <programlisting role="example"><![CDATA[
43a=1; 76[a, b] = (1, 2);
44b=2; 77[name, mem] = who("local");
45[name, mem]=who("local"); 78position = find(name=="a")
46position=find(name=="a")
47mem(position) // aにより使用される大きさ 79mem(position) // aにより使用される大きさ
48position=find(name=="d") // [] 80position = find(name=="d") // []
49 ]]></programlisting> 81
82function foo(a, b)
83 disp(who("scope", "sorted"))
84endfunction
85foo(1,2);
86 ]]></programlisting>
50 </refsection> 87 </refsection>
51 <refsection role="see also"> 88 <refsection role="see also">
52 <title>参照</title> 89 <title>参照</title>
@@ -57,6 +94,20 @@ position=find(name=="d") // []
57 <member> 94 <member>
58 <link linkend="who_user">who_user</link> 95 <link linkend="who_user">who_user</link>
59 </member> 96 </member>
97 <member>
98 <link linkend="macrovar">macrovar</link>
99 </member>
60 </simplelist> 100 </simplelist>
61 </refsection> 101 </refsection>
102 <refsection role="history">
103 <title>履歴</title>
104 <revhistory>
105 <revision>
106 <revnumber>6.0.1</revnumber>
107 <revdescription>
108 Add "scope" or "current" scope.
109 </revdescription>
110 </revision>
111 </revhistory>
112 </refsection>
62</refentry> 113</refentry>
diff --git a/scilab/modules/core/help/ja_JP/variables/who_user.xml b/scilab/modules/core/help/ja_JP/variables/who_user.xml
index 3fbb0e3..0136a6a 100644
--- a/scilab/modules/core/help/ja_JP/variables/who_user.xml
+++ b/scilab/modules/core/help/ja_JP/variables/who_user.xml
@@ -6,7 +6,10 @@
6 </refnamediv> 6 </refnamediv>
7 <refsynopsisdiv> 7 <refsynopsisdiv>
8 <title>呼び出し手順</title> 8 <title>呼び出し手順</title>
9 <synopsis>varList = who_user([bPrint])</synopsis> 9 <synopsis>
10 varList = who_user()
11 varList = who_user(bPrint)
12 </synopsis>
10 </refsynopsisdiv> 13 </refsynopsisdiv>
11 <refsection> 14 <refsection>
12 <title>引数</title> 15 <title>引数</title>
diff --git a/scilab/modules/core/help/pt_BR/configuration/banner.xml b/scilab/modules/core/help/pt_BR/configuration/banner.xml
index 71ce483..6e1e3ee 100644
--- a/scilab/modules/core/help/pt_BR/configuration/banner.xml
+++ b/scilab/modules/core/help/pt_BR/configuration/banner.xml
@@ -15,7 +15,18 @@
15 <refsection> 15 <refsection>
16 <title>Exemplos</title> 16 <title>Exemplos</title>
17 <programlisting role="example"><![CDATA[ 17 <programlisting role="example"><![CDATA[
18clc();banner() 18clc, banner()
19 ]]></programlisting> 19 ]]></programlisting>
20 <screen><![CDATA[
21 ___________________________________________
22 scilab-6.1.0
23
24 ESI Group
25 Copyright (c) 2017-2021 (ESI Group)
26 Copyright (c) 2011-2017 (Scilab Enterprises)
27 Copyright (c) 1989-2012 (INRIA)
28 Copyright (c) 1989-2007 (ENPC)
29 ___________________________________________
30]]></screen>
20 </refsection> 31 </refsection>
21</refentry> 32</refentry>
diff --git a/scilab/modules/core/help/pt_BR/configuration/getdebuginfo.xml b/scilab/modules/core/help/pt_BR/configuration/getdebuginfo.xml
index 7bc32a6..a487f98 100644
--- a/scilab/modules/core/help/pt_BR/configuration/getdebuginfo.xml
+++ b/scilab/modules/core/help/pt_BR/configuration/getdebuginfo.xml
@@ -6,22 +6,68 @@
6 </refnamediv> 6 </refnamediv>
7 <refsynopsisdiv> 7 <refsynopsisdiv>
8 <title>Seqüência de Chamamento</title> 8 <title>Seqüência de Chamamento</title>
9 <synopsis>getdebuginfo() 9 <synopsis>
10 dynamic_info = getdebuginfo(); 10 [dynamic_info, static_info] = getdebuginfo()
11 [dynamic_info,static_info] = getdebuginfo();
12 </synopsis> 11 </synopsis>
13 </refsynopsisdiv> 12 </refsynopsisdiv>
14 <refsection> 13 <refsection>
15 <title>Descrição</title> 14 <title>Descrição</title>
16 <para>getdebuginfo retorna informações sobre o Scilab para o debug.</para> 15 <para>getdebuginfo retorna informações sobre o Scilab para o debug.</para>
17 <para>dynamic_info = getdebuginfo(); retorna informações sobre o seu 16 <para>
18 sistema operacional. 17 dynamic_info = getdebuginfo(); retorna informações sobre o seu sistema operacional.
19 </para> 18 </para>
20 <para>[dynamic_info,static_info] = getdebuginfo(); retorna informações 19 <para>
20 <literal>[dynamic_info, static_info] = getdebuginfo()</literal> retorna informações
21 sobre o seu sistema operacional e sobre o Scilab. 21 sobre o seu sistema operacional e sobre o Scilab.
22 </para> 22 </para>
23 </refsection> 23 </refsection>
24 <refsection> 24 <refsection>
25 <title>Exemplos</title>
26 <programlisting role="example"><![CDATA[
27[a, b] = getdebuginfo()
28 ]]></programlisting>
29 <screen><![CDATA[
30--> [a, b] = getdebuginfo()
31 a =
32 "Memory in use: 31 %"
33 "Total Physical Memory (Kbytes): 16618008"
34 "Free Physical Memory (Kbytes): 11381360"
35 "Total Paging File (Kbytes): 19108376"
36 "Free Paging File (Kbytes): 10309008"
37 "Total Virtual Memory (Kbytes): 137438953344"
38 "Free Virtual Memory (Kbytes): 137430188892"
39 "Free Extended Memory (Kbytes): 0"
40 "Operating System: Windows 8 x64"
41 "Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz"
42 "Number of processors: 12"
43 "Number of Video cards: 2"
44 "Video card #0: Intel(R) UHD Graphics 630"
45 "Video card #1: NVIDIA GeForce GTX 1660 Ti"
46 "Primary Video card driver version: 27.20.100.8681"
47 "Screen size: 1920 x 1080 32 bits"
48 "Number of Monitors: 1"
49 "Path: C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;..."
50 "ComSpec: C:\WINDOWS\system32\cmd.exe"
51 "TMP : C:\Users\me\AppData\Local\Temp"
52 "TEMP: C:\Users\me\AppData\Local\Temp"
53
54 b =
55 "Version: scilab-6.1.0"
56 "Compilation date: Feb 25 2020"
57 "Compilation time: 11:34:32"
58 "Compiler Architecture: X64"
59 "Compiled with Microsoft compiler (191627035)"
60 "BLAS library optimized version: MKL"
61 "XML version: 2.9.1"
62 "Tcl/Tk: Enable"
63 "TCL version: 8.5.9"
64 "TK version: 8.5.9"
65 "Path separator: ;"
66 "Directory separator: \"
67 "PCRE Version: 8.21"
68]]></screen>
69 </refsection>
70 <refsection>
25 <title>Ver Também</title> 71 <title>Ver Também</title>
26 <simplelist type="inline"> 72 <simplelist type="inline">
27 <member> 73 <member>
diff --git a/scilab/modules/core/help/pt_BR/configuration/getmodules.xml b/scilab/modules/core/help/pt_BR/configuration/getmodules.xml
index 018b331..749d5a2 100644
--- a/scilab/modules/core/help/pt_BR/configuration/getmodules.xml
+++ b/scilab/modules/core/help/pt_BR/configuration/getmodules.xml
@@ -6,7 +6,7 @@
6 </refnamediv> 6 </refnamediv>
7 <refsynopsisdiv> 7 <refsynopsisdiv>
8 <title>Seqüência de Chamamento</title> 8 <title>Seqüência de Chamamento</title>
9 <synopsis>res=getmodules()</synopsis> 9 <synopsis>res = getmodules()</synopsis>
10 </refsynopsisdiv> 10 </refsynopsisdiv>
11 <refsection> 11 <refsection>
12 <title>Parâmetros</title> 12 <title>Parâmetros</title>
@@ -14,14 +14,18 @@
14 <varlistentry> 14 <varlistentry>
15 <term>res</term> 15 <term>res</term>
16 <listitem> 16 <listitem>
17 <para>uma matriz de strings</para> 17 <para>uma coluna de strings : nomes de módulos instalados no Scilab.</para>
18 </listitem> 18 </listitem>
19 </varlistentry> 19 </varlistentry>
20 </variablelist> 20 </variablelist>
21 </refsection> 21 </refsection>
22 <refsection> 22 <refsection>
23 <title>Descrição</title> 23 <title>Exemplos</title>
24 <para>Retorna a lista de módulos instalados no Scilab.</para> 24 <programlisting role="example"><![CDATA[
25modules = getmodules();
26find(modules=="core");
27with_module("core");
28 ]]></programlisting>
25 </refsection> 29 </refsection>
26 <refsection role="see also"> 30 <refsection role="see also">
27 <title>Ver Também</title> 31 <title>Ver Também</title>
diff --git a/scilab/modules/core/help/pt_BR/configuration/getos.xml b/scilab/modules/core/help/pt_BR/configuration/getos.xml
index c412f82..b4561ff 100644
--- a/scilab/modules/core/help/pt_BR/configuration/getos.xml
+++ b/scilab/modules/core/help/pt_BR/configuration/getos.xml
@@ -6,27 +6,39 @@
6 </refnamediv> 6 </refnamediv>
7 <refsynopsisdiv> 7 <refsynopsisdiv>
8 <title> Seqüência de Chamamento </title> 8 <title> Seqüência de Chamamento </title>
9 <synopsis>OS=getos() 9 <synopsis>
10 [OS,Version]=getos() 10 [OS, Version] = getos()
11 </synopsis> 11 </synopsis>
12 </refsynopsisdiv> 12 </refsynopsisdiv>
13 <refsection> 13 <refsection>
14 <title>Descrição</title> 14 <title>Descrição</title>
15 <para> 15 <para>
16 <literal>getos </literal>retorna o nome e a versão do Sistema 16 <literal>getos </literal>retorna o nome e a versão do Sistema Operacional.
17 Operacional
18 </para> 17 </para>
19 </refsection> 18 </refsection>
20 <refsection> 19 <refsection>
21 <title>Exemplos</title> 20 <title>Exemplos</title>
22 <programlisting role="example"><![CDATA[ 21 <programlisting role="example"><![CDATA[
23OS=getos() 22OS = getos()
24[OS,version] = getos() 23[OS, version] = getos()
24 ]]></programlisting>
25 <screen><![CDATA[
26--> OS = getos()
27 OS =
28 "Windows"
29
30--> [OS, version] = getos()
31 OS =
32 "Windows"
33
34 version =
35 "8 x64"
36]]></screen>
37 <programlisting role="example"><![CDATA[
25if (getos() == "Windows") then disp("Scilab on Windows"); end 38if (getos() == "Windows") then disp("Scilab on Windows"); end
26if (getos() == "Linux") then disp("Scilab on Linux"); end 39if (getos() == "Linux") then disp("Scilab on Linux"); end
27if (getos() == "SunOS") then disp("Scilab on Solaris"); end 40if (getos() == "SunOS") then disp("Scilab on Solaris"); end
28if (getos() == "Darwin") then disp("Scilab on MacOs"); end 41if (getos() == "Darwin") then disp("Scilab on MacOs"); end
29 42 ]]></programlisting>
30 ]]></programlisting>
31 </refsection> 43 </refsection>
32</refentry> 44</refentry>
diff --git a/scilab/modules/core/help/pt_BR/configuration/getscilabmode.xml b/scilab/modules/core/help/pt_BR/configuration/getscilabmode.xml
index b140271..5ad2533 100644
--- a/scilab/modules/core/help/pt_BR/configuration/getscilabmode.xml
+++ b/scilab/modules/core/help/pt_BR/configuration/getscilabmode.xml
@@ -13,28 +13,31 @@
13 </refsynopsisdiv> 13 </refsynopsisdiv>
14 <refsection> 14 <refsection>
15 <title>Descrição</title> 15 <title>Descrição</title>
16 <para>Retorna o modo do Scilab. Quatro são os possíveis modos : STD , API 16 <para>Retorna o modo do Scilab. Quatro são os possíveis modos : "STD", "API", "NW" , "NWNI".
17 , NW , NWNI .
18 </para> 17 </para>
19 <para> 18 <para>
20 <literal>API</literal> o Scilab é lançado como um API. 19 <literal>"API"</literal> o Scilab é lançado como um API.
21 </para> 20 </para>
22 <para> 21 <para>
23 <literal>STD</literal> o Scilab padrão (gui, plot ...) 22 <literal>"STD"</literal> o Scilab padrão (gui, plot ...)
24 </para> 23 </para>
25 <para> 24 <para>
26 <literal>NW</literal> Scilab em linha de comando com esboços. 25 <literal>"NW"</literal> Scilab em linha de comando com esboços.
27 </para> 26 </para>
28 <para> 27 <para>
29 <literal>NWNI</literal> Scilab em linha de comando sem quaisquer 28 <literal>"NWNI"</literal> Scilab em linha de comando sem quaisquer gráficos.
30 gráficos.
31 </para> 29 </para>
32 </refsection> 30 </refsection>
33 <refsection> 31 <refsection>
34 <title>Exemplos</title> 32 <title>Exemplos</title>
35 <programlisting role="example"><![CDATA[ 33 <programlisting role="example"><![CDATA[
36getscilabmode() 34getscilabmode()
37 ]]></programlisting> 35 ]]></programlisting>
36 <screen><![CDATA[
37--> getscilabmode()
38 ans =
39 "STD"
40]]></screen>
38 </refsection> 41 </refsection>
39 <refsection role="see also"> 42 <refsection role="see also">
40 <title>Ver Também</title> 43 <title>Ver Também</title>
diff --git a/scilab/modules/core/help/pt_BR/configuration/getshell.xml b/scilab/modules/core/help/pt_BR/configuration/getshell.xml
index a53439f..64a1a28 100644
--- a/scilab/modules/core/help/pt_BR/configuration/getshell.xml
+++ b/scilab/modules/core/help/pt_BR/configuration/getshell.xml
@@ -19,6 +19,11 @@
19 <title>Exemplos</title> 19 <title>Exemplos</title>
20 <programlisting role="example"><![CDATA[ 20 <programlisting role="example"><![CDATA[
21getshell() 21getshell()
22 ]]></programlisting> 22 ]]></programlisting>
23 <screen><![CDATA[
24--> getshell()
25 ans =
26 "cmd"
27]]></screen>
23 </refsection> 28 </refsection>
24</refentry> 29</refentry>
diff --git a/scilab/modules/core/help/pt_BR/configuration/getversion.xml b/scilab/modules/core/help/pt_BR/configuration/getversion.xml
index fb3a129a..e0d8c3c 100644
--- a/scilab/modules/core/help/pt_BR/configuration/getversion.xml
+++ b/scilab/modules/core/help/pt_BR/configuration/getversion.xml
@@ -6,21 +6,12 @@
6 </refnamediv> 6 </refnamediv>
7 <refsynopsisdiv> 7 <refsynopsisdiv>
8 <title> Seqüência de Chamamento</title> 8 <title> Seqüência de Chamamento</title>
9 <synopsis>getversion() 9 <synopsis>
10 10 [version, options] = getversion()
11 [version, opts] = getversion() 11 [COMPILER, ARCH, RELEASE_MODE, RELEASE_DATE, RELEASE_TIME] = (options(1), opt(2), options($-2), options($-1), options($))
12 COMPILER = opts(1) 12 version_numbers = getversion('scilab')
13 ARCH = opts(2) 13 version_numbers = getversion('&lt;module&gt;')
14 or(opts == 'modelicac') 14 version = getversion('&lt;module&gt;','string_info')
15 or(opts == 'tk')
16 RELEASE_MODE = opts($-2)
17 RELEASE_DATE = opts($-1)
18 RELEASE_TIME = opts($)
19
20 version = getversion('scilab')
21 versionstr = getversion('scilab','string_info')
22 version = getversion('overloading')
23 versionstr = getversion('overloading','string_info')
24 </synopsis> 15 </synopsis>
25 </refsynopsisdiv> 16 </refsynopsisdiv>
26 <refsection> 17 <refsection>
@@ -29,27 +20,21 @@
29 <varlistentry> 20 <varlistentry>
30 <term>version</term> 21 <term>version</term>
31 <listitem> 22 <listitem>
32 <para>um string</para> 23 <para>um string sobre a versão. Exemplo: "scilab-6.1.0"</para>
33 </listitem>
34 </varlistentry>
35 <varlistentry>
36 <term>versioninfo</term>
37 <listitem>
38 <para>um string sobre a versão</para>
39 </listitem> 24 </listitem>
40 </varlistentry> 25 </varlistentry>
41 <varlistentry> 26 <varlistentry>
42 <term>ver</term> 27 <term>version_numbers</term>
43 <listitem> 28 <listitem>
44 <para>um vetor de inteiros</para> 29 <para>um vetor de inteiros</para>
45 <para>ver(1): versão maior</para> 30 <para>version_numbers(1): versão maior</para>
46 <para>ver(2): versão menor</para> 31 <para>version_numbers(2): versão menor</para>
47 <para>ver(3): versão de manutençãp</para> 32 <para>version_numbers(3): versão de manutençãp</para>
48 <para>ver(4): timestamp GIT</para> 33 <para>version_numbers(4): timestamp GIT</para>
49 </listitem> 34 </listitem>
50 </varlistentry> 35 </varlistentry>
51 <varlistentry> 36 <varlistentry>
52 <term>opts</term> 37 <term>options</term>
53 <listitem> 38 <listitem>
54 <para>um vetor de strings: 39 <para>um vetor de strings:
55 <literal>[compiler, architecture, [tk, modelicac, ] release_mode, release_date, release_time]</literal> 40 <literal>[compiler, architecture, [tk, modelicac, ] release_mode, release_date, release_time]</literal>
@@ -62,7 +47,7 @@
62 <title>Descrição</title> 47 <title>Descrição</title>
63 <para> 48 <para>
64 Retorna em <literal>version</literal> o nome da versão do Scilab e 49 Retorna em <literal>version</literal> o nome da versão do Scilab e
65 em <literal>opts</literal> build options ("opções de construção") que 50 em <literal>options</literal> build options ("opções de construção") que
66 podem ser usadas para determinar se o Scilab foi construído em tk ou 51 podem ser usadas para determinar se o Scilab foi construído em tk ou
67 modelicac. 52 modelicac.
68 </para> 53 </para>
@@ -71,21 +56,13 @@
71 <title>Exemplos</title> 56 <title>Exemplos</title>
72 <programlisting role="example"><![CDATA[ 57 <programlisting role="example"><![CDATA[
73getversion() 58getversion()
59[version, options] = getversion()
60[COMPILER, ARCH, RELEASE_MODE, RELEASE_DATE, RELEASE_TIME] = (options(1), opt(2), options($-2), options($-1), options($))
61or(options == 'modelicac')
62or(options == 'tk')
74 63
75[version, opts] = getversion() 64numbers = getversion('scilab')
76COMPILER = opts(1) 65version = getversion('scilab','string_info')
77ARCH = opts(2)
78or(opt == 'modelicac')
79or(opt == 'tk')
80RELEASE_MODE = opts($-2)
81RELEASE_DATE = opts($-1)
82RELEASE_TIME = opts($)
83
84version = getversion('scilab')
85versionstr = getversion('scilab','string_info')
86version = getversion('overloading')
87versionstr = getversion('overloading','string_info')
88
89 ]]></programlisting> 66 ]]></programlisting>
90 </refsection> 67 </refsection>
91 <refsection> 68 <refsection>
diff --git a/scilab/modules/core/help/pt_BR/configuration/sciargs.xml b/scilab/modules/core/help/pt_BR/configuration/sciargs.xml
index 2dfcc2f..8a9399b 100644
--- a/scilab/modules/core/help/pt_BR/configuration/sciargs.xml
+++ b/scilab/modules/core/help/pt_BR/configuration/sciargs.xml
@@ -23,7 +23,7 @@
23 </refnamediv> 23 </refnamediv>
24 <refsynopsisdiv> 24 <refsynopsisdiv>
25 <title>Seqüência de Chamamento</title> 25 <title>Seqüência de Chamamento</title>
26 <synopsis>args=sciargs()</synopsis> 26 <synopsis>args = sciargs()</synopsis>
27 </refsynopsisdiv> 27 </refsynopsisdiv>
28 <refsection> 28 <refsection>
29 <title>Descrição</title> 29 <title>Descrição</title>
diff --git a/scilab/modules/core/help/pt_BR/configuration/ver.xml b/scilab/modules/core/help/pt_BR/configuration/ver.xml
index e7d410e..fdcf7c7 100644
--- a/scilab/modules/core/help/pt_BR/configuration/ver.xml
+++ b/scilab/modules/core/help/pt_BR/configuration/ver.xml
@@ -44,7 +44,17 @@
44 <title>Exemplos</title> 44 <title>Exemplos</title>
45 <programlisting role="example"><![CDATA[ 45 <programlisting role="example"><![CDATA[
46r = ver() 46r = ver()
47 ]]></programlisting> 47 ]]></programlisting>
48 <screen><![CDATA[
49--> r = ver()
50 r =
51 "Scilab Version: " "6.1.1.0"
52 "Operating System: " "Windows 10 10.0"
53 "Java version: " "1.8.0_151"
54 "Java runtime information: " "Java(TM) SE Runtime Environment (build 1.8.0_151-b12)"
55 "Java Virtual Machine information: " "Java HotSpot(TM) 64-Bit Server VM (build 25.151-b12, mixed mode)"
56 "Vendor specification: " "Oracle Corporation"
57]]></screen>
48 </refsection> 58 </refsection>
49 <refsection> 59 <refsection>
50 <title> Ver Também </title> 60 <title> Ver Também </title>
diff --git a/scilab/modules/core/help/pt_BR/configuration/with_macros_source.xml b/scilab/modules/core/help/pt_BR/configuration/with_macros_source.xml
index dffa1a0..e1e0d5a 100644
--- a/scilab/modules/core/help/pt_BR/configuration/with_macros_source.xml
+++ b/scilab/modules/core/help/pt_BR/configuration/with_macros_source.xml
@@ -6,7 +6,7 @@
6 </refnamediv> 6 </refnamediv>
7 <refsynopsisdiv> 7 <refsynopsisdiv>
8 <title>Seqüência de Chamamento</title> 8 <title>Seqüência de Chamamento</title>
9 <synopsis>r=with_macros_source()</synopsis> 9 <synopsis>r = with_macros_source()</synopsis>
10 </refsynopsisdiv> 10 </refsynopsisdiv>
11 <refsection> 11 <refsection>
12 <title>Parâmetros</title> 12 <title>Parâmetros</title>
diff --git a/scilab/modules/core/help/pt_BR/configuration/with_module.xml b/scilab/modules/core/help/pt_BR/configuration/with_module.xml
index 4907a7f..f449746 100644
--- a/scilab/modules/core/help/pt_BR/configuration/with_module.xml
+++ b/scilab/modules/core/help/pt_BR/configuration/with_module.xml
@@ -6,21 +6,21 @@
6 </refnamediv> 6 </refnamediv>
7 <refsynopsisdiv> 7 <refsynopsisdiv>
8 <title>Seqüência de Chamamento</title> 8 <title>Seqüência de Chamamento</title>
9 <synopsis>r=with_module(module_name)</synopsis> 9 <synopsis>r = with_module(module_name)</synopsis>
10 </refsynopsisdiv> 10 </refsynopsisdiv>
11 <refsection> 11 <refsection>
12 <title>Parâmetros</title> 12 <title>Parâmetros</title>
13 <variablelist> 13 <variablelist>
14 <varlistentry> 14 <varlistentry>
15 <term>r</term> 15 <term>module_name</term>
16 <listitem> 16 <listitem>
17 <para>um booleano</para> 17 <para>um string. Exemplo : 'core'</para>
18 </listitem> 18 </listitem>
19 </varlistentry> 19 </varlistentry>
20 <varlistentry> 20 <varlistentry>
21 <term>module_name</term> 21 <term>r</term>
22 <listitem> 22 <listitem>
23 <para>um string. Exemplo : 'core'</para> 23 <para>um booleano</para>
24 </listitem> 24 </listitem>
25 </varlistentry> 25 </varlistentry>
26 </variablelist> 26 </variablelist>
@@ -28,10 +28,20 @@
28 <refsection> 28 <refsection>
29 <title>Descrição</title> 29 <title>Descrição</title>
30 <para> 30 <para>
31 Retorna <literal>%t</literal> se o módulo Scilab tiver sido 31 Retorna <literal>%t</literal> se o módulo Scilab tiver sido instalado.
32 instalado.
33 </para> 32 </para>
34 </refsection> 33 </refsection>
34 <refsection>
35 <title>Exemplos</title>
36 <programlisting role="example"><![CDATA[
37withXML = with_module("xml");
38if withXML == %t then
39 disp("XML module enabled");
40else
41 disp("XML module disabled");
42end
43 ]]></programlisting>
44 </refsection>
35 <refsection role="see also"> 45 <refsection role="see also">
36 <title>Ver Também</title> 46 <title>Ver Também</title>
37 <simplelist type="inline"> 47 <simplelist type="inline">
diff --git a/scilab/modules/core/help/pt_BR/debugging/where.xml b/scilab/modules/core/help/pt_BR/debugging/where.xml
index d2880de..9b6a5db 100644
--- a/scilab/modules/core/help/pt_BR/debugging/where.xml
+++ b/scilab/modules/core/help/pt_BR/debugging/where.xml
@@ -11,7 +11,7 @@
11 </refnamediv> 11 </refnamediv>
12 <refsynopsisdiv> 12 <refsynopsisdiv>
13 <title> Seqüência de Chamamento </title> 13 <title> Seqüência de Chamamento </title>
14 <synopsis>[linenum,mac]=where()</synopsis> 14 <synopsis>[linenum, mac] = where()</synopsis>
15 </refsynopsisdiv> 15 </refsynopsisdiv>
16 <refsection> 16 <refsection>
17 <title>Parâmetros</title> 17 <title>Parâmetros</title>
diff --git a/scilab/modules/core/help/pt_BR/debugging/whereami.xml b/scilab/modules/core/help/pt_BR/debugging/whereami.xml
index 5d37f8a..43a185f 100644
--- a/scilab/modules/core/help/pt_BR/debugging/whereami.xml
+++ b/scilab/modules/core/help/pt_BR/debugging/whereami.xml
@@ -2,8 +2,7 @@
2<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="whereami" xml:lang="pt"> 2<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="whereami" xml:lang="pt">
3 <refnamediv> 3 <refnamediv>
4 <refname>whereami</refname> 4 <refname>whereami</refname>
5 <refpurpose>exibe a árvore de chamamento de instruções 5 <refpurpose>exibe a árvore de chamamento de instruções corrente
6 corrente
7 </refpurpose> 6 </refpurpose>
8 </refnamediv> 7 </refnamediv>
9 <refsynopsisdiv> 8 <refsynopsisdiv>
diff --git a/scilab/modules/core/help/pt_BR/error_handling/errclear.xml b/scilab/modules/core/help/pt_BR/error_handling/errclear.xml
index e3bd0be..c721138 100644
--- a/scilab/modules/core/help/pt_BR/error_handling/errclear.xml
+++ b/scilab/modules/core/help/pt_BR/error_handling/errclear.xml
@@ -27,7 +27,7 @@
27 </refsection> 27 </refsection>
28 <refsection> 28 <refsection>
29 <title>Examples</title> 29 <title>Examples</title>
30 <programlisting role="example"> 30 <programlisting role="example"><![CDATA[
31a = 1; 31a = 1;
32try, b = undefinedvariable + a; end 32try, b = undefinedvariable + a; end
33[m,n0] = lasterror(); 33[m,n0] = lasterror();
@@ -43,8 +43,8 @@ errclear(100)
43try, b = undefinedvariable + a; end 43try, b = undefinedvariable + a; end
44errclear(999) 44errclear(999)
45[m,n] = lasterror(); n 45[m,n] = lasterror(); n
46 </programlisting> 46 ]]></programlisting>
47 <screen><![CDATA[ 47 <screen><![CDATA[
48--> try, b = undefinedvariable + a; end 48--> try, b = undefinedvariable + a; end
49--> [m,n0] = lasterror(); 49--> [m,n0] = lasterror();
50--> n0 50--> n0
diff --git a/scilab/modules/core/help/pt_BR/error_handling/lasterror.xml b/scilab/modules/core/help/pt_BR/error_handling/lasterror.xml
index 7c01e57..0334d78 100644
--- a/scilab/modules/core/help/pt_BR/error_handling/lasterror.xml
+++ b/scilab/modules/core/help/pt_BR/error_handling/lasterror.xml
@@ -6,9 +6,9 @@
6 </refnamediv> 6 </refnamediv>
7 <refsynopsisdiv> 7 <refsynopsisdiv>
8 <title>Seqüência de Chamamento</title> 8 <title>Seqüência de Chamamento</title>
9 <synopsis>str=lasterror( [opt] ) 9 <synopsis>
10 [str,n]=lasterror([opt]) 10 [str, n, line, func] = lasterror()
11 [str,n,line,func]=lasterror([opt]) 11 [str, n, line, func] = lasterror(opt)
12 </synopsis> 12 </synopsis>
13 </refsynopsisdiv> 13 </refsynopsisdiv>
14 <refsection> 14 <refsection>
@@ -44,8 +44,7 @@
44 <varlistentry> 44 <varlistentry>
45 <term>opt</term> 45 <term>opt</term>
46 <listitem> 46 <listitem>
47 <para>booleano, se %t for registrado, a mensagem é limpa. O padrão é 47 <para>booleano, se %t for registrado, a mensagem é limpa. O padrão é %t
48 %t
49 </para> 48 </para>
50 </listitem> 49 </listitem>
51 </varlistentry> 50 </varlistentry>
@@ -77,7 +76,7 @@
77 <refsection> 76 <refsection>
78 <title>Exemplos</title> 77 <title>Exemplos</title>
79 <programlisting role="example"><![CDATA[ 78 <programlisting role="example"><![CDATA[
80ierr=execstr('a=zzzzzzz','errcatch') 79ierr = execstr('a=zzzzzzz','errcatch')
81if ierr>0 then disp(lasterror()),end 80if ierr>0 then disp(lasterror()),end
82 ]]></programlisting> 81 ]]></programlisting>
83 </refsection> 82 </refsection>
diff --git a/scilab/modules/core/help/pt_BR/exit.xml b/scilab/modules/core/help/pt_BR/exit.xml
deleted file mode 100644
index 8555c24..0000000
--- a/scilab/modules/core/help/pt_BR/exit.xml
+++ /dev/null
@@ -1,31 +0,0 @@
1<?xml version="1.0" encoding="UTF-8"?>
2<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:ns5="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="exit" xml:lang="pt">
3 <refnamediv>
4 <refname>exit</refname>
5 <refpurpose>termina a sessão Scilab corrente</refpurpose>
6 </refnamediv>
7 <refsection>
8 <title>Descrição</title>
9 <para>Termina a sessão Scilab corrente.</para>
10 </refsection>
11 <refsection role="see also">
12 <title>Ver Também</title>
13 <simplelist type="inline">
14 <member>
15 <link linkend="quit">quit</link>
16 </member>
17 <member>
18 <link linkend="abort">abort</link>
19 </member>
20 <member>
21 <link linkend="break">break</link>
22 </member>
23 <member>
24 <link linkend="return">return</link>
25 </member>
26 <member>
27 <link linkend="resume">resume</link>
28 </member>
29 </simplelist>
30 </refsection>
31</refentry>
diff --git a/scilab/modules/core/help/pt_BR/startup.xml b/scilab/modules/core/help/pt_BR/startup.xml
index b63e4e8..90b22f8 100644
--- a/scilab/modules/core/help/pt_BR/startup.xml
+++ b/scilab/modules/core/help/pt_BR/startup.xml
@@ -15,21 +15,20 @@
15 estiverem presentes) quando o Scilab é chamado, junto com o arquivo 15 estiverem presentes) quando o Scilab é chamado, junto com o arquivo
16 <literal>scilab.star</literal> no diretório Scilab (SCI). 16 <literal>scilab.star</literal> no diretório Scilab (SCI).
17 </para> 17 </para>
18 <warning>
19 <para>A última linha de um arquivo de inicialização deve ser terminada por
20 uma nova linha a ser levada em conta.
21 </para>
22 </warning>
18 </refsection> 23 </refsection>
19 <refsection> 24 <refsection>
20 <title>Observações</title> 25 <title>Exemplos</title>
21 <para>A última linha de um arquivo de inicialização deve ser terminada por 26 <programlisting role="example"><![CDATA[
22 uma nova linha a ser levada em conta. 27ls(SCIHOME)
23 </para> 28if ls(SCIHOME+"/scilab.ini") == [] & ls(SCIHOME+"/.scilab") == []
24 <para>Definição de SCIHOME : no Windows : C:/Documents e 29 disp("No startup file defined");
25 Settings/&lt;User>/Scilab/&lt;Scilab-Version> 30end
26 </para> 31 ]]></programlisting>
27 <para>ou no Vista :
28 C:/&lt;User>/AppData/Roaming/Scilab/&lt;Scilab-Version>
29 </para>
30 <para>No Linux/Unix :
31 /home/&lt;User>/.Scilab/&lt;Scilab-Version>
32 </para>
33 </refsection> 32 </refsection>
34 <refsection> 33 <refsection>
35 <title>Ver Também</title> 34 <title>Ver Também</title>
diff --git a/scilab/modules/core/help/pt_BR/types/type.xml b/scilab/modules/core/help/pt_BR/types/type.xml
index b689da6..6f062cc 100644
--- a/scilab/modules/core/help/pt_BR/types/type.xml
+++ b/scilab/modules/core/help/pt_BR/types/type.xml
@@ -24,7 +24,7 @@
24 </refnamediv> 24 </refnamediv>
25 <refsynopsisdiv> 25 <refsynopsisdiv>
26 <title> Seqüência de Chamamento </title> 26 <title> Seqüência de Chamamento </title>
27 <synopsis>[i]=type(x)</synopsis> 27 <synopsis>i = type(x)</synopsis>
28 </refsynopsisdiv> 28 </refsynopsisdiv>
29 <refsection> 29 <refsection>
30 <title>Parâmetros</title> 30 <title>Parâmetros</title>
diff --git a/scilab/modules/core/help/pt_BR/types/typename.xml b/scilab/modules/core/help/pt_BR/types/typename.xml
index eba5a3a..fdec5a3 100644
--- a/scilab/modules/core/help/pt_BR/types/typename.xml
+++ b/scilab/modules/core/help/pt_BR/types/typename.xml
@@ -6,25 +6,23 @@
6 </refnamediv> 6 </refnamediv>
7 <refsynopsisdiv> 7 <refsynopsisdiv>
8 <title>Seqüência de Chamamento</title> 8 <title>Seqüência de Chamamento</title>
9 <synopsis>[types [ [,names]]=typename() 9 <synopsis>[indices, onames] = typename()
10 </synopsis> 10 </synopsis>
11 </refsynopsisdiv> 11 </refsynopsisdiv>
12 <refsection> 12 <refsection>
13 <title>Parâmetros</title> 13 <title>Parâmetros</title>
14 <variablelist> 14 <variablelist>
15 <varlistentry> 15 <varlistentry>
16 <term>types</term> 16 <term>indices</term>
17 <listitem> 17 <listitem>
18 <para>vetor coluna de inteiros: os códigos dos tipos de cada tipo de 18 <para>vetor coluna de inteiros: os códigos dos tipos de cada tipo de dado definido.
19 dado definido.
20 </para> 19 </para>
21 </listitem> 20 </listitem>
22 </varlistentry> 21 </varlistentry>
23 <varlistentry> 22 <varlistentry>
24 <term>names</term> 23 <term>onames</term>
25 <listitem> 24 <listitem>
26 <para>vetor coluna de strings: os nomes associados aos códigos de 25 <para>vetor coluna de strings: os overloading nomes associados aos tipos.
27 tipos.
28 </para> 26 </para>
29 </listitem> 27 </listitem>
30 </varlistentry> 28 </varlistentry>
@@ -32,6 +30,9 @@
32 </refsection> 30 </refsection>
33 <refsection> 31 <refsection>
34 <title>Descrição</title> 32 <title>Descrição</title>
33 <para>
34 <literal>typename</literal> retorna informações sobre tipos de dados definidos.
35 </para>
35 <para>O overloading de funções e operadores faz uso de nomes formais 36 <para>O overloading de funções e operadores faz uso de nomes formais
36 associados aos tipos de dados para formar o nome da função de overloading 37 associados aos tipos de dados para formar o nome da função de overloading
37 (ver overloading). <literal>typename</literal> pode ser usado para 38 (ver overloading). <literal>typename</literal> pode ser usado para
@@ -40,10 +41,33 @@
40 <literal>mlist</literal> são definidos de outra forma, ver 41 <literal>mlist</literal> são definidos de outra forma, ver
41 <literal>overloading</literal>). 42 <literal>overloading</literal>).
42 </para> 43 </para>
43 <para> 44 </refsection>
44 <literal>typename</literal> 45 <refsection>
45 retorna informações sobre tipos de dados definidos. 46 <title>Exemplos</title>
46 </para> 47 <programlisting role="example"><![CDATA[
48[ind, onames] = typename();
49mprintf("Type index: %3d overloading code: ""%s""\n", ind, onames)
50 ]]></programlisting>
51 <screen><![CDATA[
52--> mprintf("Type index: %3d overloading code: ""%s""\n", ind, onames)
53Type index: 1 overloading code: "s"
54Type index: 2 overloading code: "p"
55Type index: 4 overloading code: "b"
56Type index: 5 overloading code: "sp"
57Type index: 6 overloading code: "spb"
58Type index: 7 overloading code: "msp"
59Type index: 8 overloading code: "i"
60Type index: 9 overloading code: "h"
61Type index: 10 overloading code: "c"
62Type index: 13 overloading code: "function"
63Type index: 14 overloading code: "f"
64Type index: 15 overloading code: "l"
65Type index: 16 overloading code: "tl"
66Type index: 17 overloading code: "ml"
67Type index: 128 overloading code: "ptr"
68Type index: 129 overloading code: "ip"
69Type index: 130 overloading code: "fptr"
70]]></screen>
47 </refsection> 71 </refsection>
48 <refsection> 72 <refsection>
49 <title> Ver Também </title> 73 <title> Ver Também </title>
diff --git a/scilab/modules/core/help/pt_BR/variables/exists.xml b/scilab/modules/core/help/pt_BR/variables/exists.xml
index 2aa99bd..bed612d 100644
--- a/scilab/modules/core/help/pt_BR/variables/exists.xml
+++ b/scilab/modules/core/help/pt_BR/variables/exists.xml
@@ -6,7 +6,10 @@
6 </refnamediv> 6 </refnamediv>
7 <refsynopsisdiv> 7 <refsynopsisdiv>
8 <title>Seqüência de Chamamento</title> 8 <title>Seqüência de Chamamento</title>
9 <synopsis>exists(name [,where])</synopsis> 9 <synopsis>
10 ve = exists(name)
11 ve = exists(name, where)
12 </synopsis>
10 </refsynopsisdiv> 13 </refsynopsisdiv>
11 <refsection> 14 <refsection>
12 <title>Parâmetros</title> 15 <title>Parâmetros</title>
@@ -14,7 +17,7 @@
14 <varlistentry> 17 <varlistentry>
15 <term>name</term> 18 <term>name</term>
16 <listitem> 19 <listitem>
17 <para>string</para> 20 <para>matrix of character strings: names of queried variables.</para>
18 </listitem> 21 </listitem>
19 </varlistentry> 22 </varlistentry>
20 <varlistentry> 23 <varlistentry>
@@ -27,6 +30,16 @@
27 </para> 30 </para>
28 </listitem> 31 </listitem>
29 </varlistentry> 32 </varlistentry>
33 <varlistentry>
34 <term>ve</term>
35 <listitem>
36 <para>
37 a matrix with the same size as <varname>name</varname> with possible values:
38 <literal>1</literal> if true,
39 <literal>0</literal> if false
40 </para>
41 </listitem>
42 </varlistentry>
30 </variablelist> 43 </variablelist>
31 </refsection> 44 </refsection>
32 <refsection> 45 <refsection>
diff --git a/scilab/modules/core/help/pt_BR/variables/isdef.xml b/scilab/modules/core/help/pt_BR/variables/isdef.xml
index ee92ce4..345897e 100644
--- a/scilab/modules/core/help/pt_BR/variables/isdef.xml
+++ b/scilab/modules/core/help/pt_BR/variables/isdef.xml
@@ -20,7 +20,10 @@
20 </refnamediv> 20 </refnamediv>
21 <refsynopsisdiv> 21 <refsynopsisdiv>
22 <title>Seqüência de Chamamento</title> 22 <title>Seqüência de Chamamento</title>
23 <synopsis>isdef(name [,where])</synopsis> 23 <synopsis>
24 ve = isdef(name)
25 ve = isdef(name, where)
26 </synopsis>
24 </refsynopsisdiv> 27 </refsynopsisdiv>
25 <refsection> 28 <refsection>
26 <title>Parâmetros</title> 29 <title>Parâmetros</title>
@@ -28,7 +31,7 @@
28 <varlistentry> 31 <varlistentry>
29 <term>name</term> 32 <term>name</term>
30 <listitem> 33 <listitem>
31 <para>um string </para> 34 <para>matrix of strings: names of queried variables.</para>
32 </listitem> 35 </listitem>
33 </varlistentry> 36 </varlistentry>
34 <varlistentry> 37 <varlistentry>
@@ -38,6 +41,14 @@
38 </para> 41 </para>
39 </listitem> 42 </listitem>
40 </varlistentry> 43 </varlistentry>
44 <varlistentry>
45 <term>ve</term>
46 <listitem>
47 <para>
48 a matrix with the same size as <varname>name</varname> with boolean values
49 </para>
50 </listitem>
51 </varlistentry>
41 </variablelist> 52 </variablelist>
42 </refsection> 53 </refsection>
43 <refsection> 54 <refsection>
@@ -91,6 +102,8 @@ go()
91 <simplelist type="inline"> 102 <simplelist type="inline">
92 <member> 103 <member>
93 <link linkend="exists">exists</link> 104 <link linkend="exists">exists</link>
105 </member>
106 <member>
94 <link linkend="isglobal">isglobal</link> 107 <link linkend="isglobal">isglobal</link>
95 </member> 108 </member>
96 <member> 109 <member>
diff --git a/scilab/modules/core/help/pt_BR/variables/predef.xml b/scilab/modules/core/help/pt_BR/variables/predef.xml
index f9e2030..1dc07b4 100644
--- a/scilab/modules/core/help/pt_BR/variables/predef.xml
+++ b/scilab/modules/core/help/pt_BR/variables/predef.xml
@@ -55,6 +55,16 @@
55 /home/&lt;User&gt;/.Scilab/&lt;Scilab-Version&gt; 55 /home/&lt;User&gt;/.Scilab/&lt;Scilab-Version&gt;
56 </para> 56 </para>
57 </refsection> 57 </refsection>
58 <refsection>
59 <title>Exemplos</title>
60 <programlisting role="example"><![CDATA[
61a = 1;
62predef("all");
63clear a // fails
64predef("clear")
65clear a // works
66 ]]></programlisting>
67 </refsection>
58 <refsection role="see also"> 68 <refsection role="see also">
59 <title>Ver Também</title> 69 <title>Ver Também</title>
60 <simplelist type="inline"> 70 <simplelist type="inline">
@@ -64,6 +74,12 @@
64 <member> 74 <member>
65 <link linkend="save">save</link> 75 <link linkend="save">save</link>
66 </member> 76 </member>
77 <member>
78 <link linkend="ans">ans</link>
79 </member>
80 <member>
81 <link linkend="startup">startup</link>
82 </member>
67 </simplelist> 83 </simplelist>
68 </refsection> 84 </refsection>
69</refentry> 85</refentry>
diff --git a/scilab/modules/core/help/pt_BR/variables/who.xml b/scilab/modules/core/help/pt_BR/variables/who.xml
index 2647c62..ec8edb6 100644
--- a/scilab/modules/core/help/pt_BR/variables/who.xml
+++ b/scilab/modules/core/help/pt_BR/variables/who.xml
@@ -8,18 +8,51 @@
8 <title>Seqüência de Chamamento </title> 8 <title>Seqüência de Chamamento </title>
9 <synopsis>who 9 <synopsis>who
10 who() 10 who()
11 names=who('local') 11 [names, mem] = who(mode)
12 [names,mem]=who('local') 12 [names, mem] = who(mode, sorted)
13 names=who('global') 13 [names, mem] = who(sorted)
14 [names,mem]=who('global')
15 who('sorted')
16 names=who('local','sorted')
17 [names,mem]=who('local','sorted')
18 names=who('global','sorted')
19 [names,mem]=who('global','sorted')
20 </synopsis> 14 </synopsis>
21 </refsynopsisdiv> 15 </refsynopsisdiv>
22 <refsection> 16 <refsection>
17 <title>Parâmetros</title>
18 <variablelist>
19 <varlistentry>
20 <term>mode</term>
21 <listitem>
22 <para>
23 <literal>local</literal>/<literal>get</literal>: list visible variables (not only in current function).
24 </para>
25 <para>
26 <literal>scope</literal>/<literal>current</literal>: list variables in the current scope/function.
27 </para>
28 <para>
29 <literal>global</literal>: list global variables.
30 </para>
31 </listitem>
32 </varlistentry>
33 <varlistentry>
34 <term>sorted</term>
35 <listitem>
36 <para>
37 Boolean value to specify if output must be sort in alphabetical order.
38 </para>
39 </listitem>
40 </varlistentry>
41 <varlistentry>
42 <term>names</term>
43 <listitem>
44 <para>String matrix with variable names.</para>
45 </listitem>
46 </varlistentry>
47 <varlistentry>
48 <term>mem</term>
49 <listitem>
50 <para>Double matrix with variable used memory in bytes.</para>
51 </listitem>
52 </varlistentry>
53 </variablelist>
54 </refsection>
55 <refsection>
23 <title>Descrição</title> 56 <title>Descrição</title>
24 <para> 57 <para>
25 <literal>who</literal> exibe os nome de variáveis correntes. 58 <literal>who</literal> exibe os nome de variáveis correntes.
@@ -39,6 +72,22 @@
39 </para> 72 </para>
40 </refsection> 73 </refsection>
41 <refsection> 74 <refsection>
75 <title>Examples</title>
76 <programlisting role="example"><![CDATA[
77a = 1;
78b = 2;
79[name, mem] = who("local");
80position = find(name=="a")
81mem(position) // Size used by a
82position = find(name=="d") // []
83
84function foo(a, b)
85 disp(who("scope", "sorted"))
86endfunction
87foo(1,2);
88 ]]></programlisting>
89 </refsection>
90 <refsection>
42 <title> Ver Também </title> 91 <title> Ver Também </title>
43 <simplelist type="inline"> 92 <simplelist type="inline">
44 <member> 93 <member>
@@ -47,6 +96,20 @@
47 <member> 96 <member>
48 <link linkend="who_user">who_user</link> 97 <link linkend="who_user">who_user</link>
49 </member> 98 </member>
99 <member>
100 <link linkend="macrovar">macrovar</link>
101 </member>
50 </simplelist> 102 </simplelist>
51 </refsection> 103 </refsection>
104 <refsection role="history">
105 <title>History</title>
106 <revhistory>
107 <revision>
108 <revnumber>6.0.1</revnumber>
109 <revdescription>
110 Add "scope" or "current" mode.
111 </revdescription>
112 </revision>
113 </revhistory>
114 </refsection>
52</refentry> 115</refentry>
diff --git a/scilab/modules/core/help/pt_BR/variables/who_user.xml b/scilab/modules/core/help/pt_BR/variables/who_user.xml
index 71b25b9..3824e4e 100644
--- a/scilab/modules/core/help/pt_BR/variables/who_user.xml
+++ b/scilab/modules/core/help/pt_BR/variables/who_user.xml
@@ -11,11 +11,24 @@
11 <refsection> 11 <refsection>
12 <title>Descrição</title> 12 <title>Descrição</title>
13 <para> 13 <para>
14 <literal>who_user</literal> exibe os nomes das variáveis do 14 <literal>who_user</literal> exibe os nomes das variáveis do usuário.
15 usuário.
16 </para> 15 </para>
17 </refsection> 16 </refsection>
18 <refsection> 17 <refsection>
18 <title>Examples</title>
19 <programlisting role="code_scilab"><![CDATA[
20clear
21who_user()
22who_user(%t)
23who_user(%f)
24a = 1;
25b = 2;
26who_user()
27who_user(%t)
28who_user(%f)
29 ]]></programlisting>
30 </refsection>
31 <refsection>
19 <title> Ver Também </title> 32 <title> Ver Também </title>
20 <simplelist type="inline"> 33 <simplelist type="inline">
21 <member> 34 <member>
@@ -26,4 +39,16 @@
26 </member> 39 </member>
27 </simplelist> 40 </simplelist>
28 </refsection> 41 </refsection>
42 <refsection>
43 <title>History</title>
44 <revhistory>
45 <revision>
46 <revnumber>5.4.0</revnumber>
47 <revremark>
48 <function>who_user</function> can now return user's
49 variable names in a column vector of character strings.
50 </revremark>
51 </revision>
52 </revhistory>
53 </refsection>
29</refentry> 54</refentry>
diff --git a/scilab/modules/core/help/pt_BR/variables/whos.xml b/scilab/modules/core/help/pt_BR/variables/whos.xml
index 7f6e416..8f45b81 100644
--- a/scilab/modules/core/help/pt_BR/variables/whos.xml
+++ b/scilab/modules/core/help/pt_BR/variables/whos.xml
@@ -64,6 +64,9 @@ whos -name %
64 <link linkend="who">who</link> 64 <link linkend="who">who</link>
65 </member> 65 </member>
66 <member> 66 <member>
67 <link linkend="who_user">who_user</link>
68 </member>
69 <member>
67 <link linkend="typeof">typeof</link> 70 <link linkend="typeof">typeof</link>
68 </member> 71 </member>
69 </simplelist> 72 </simplelist>
diff --git a/scilab/modules/core/help/ru_RU/configuration/banner.xml b/scilab/modules/core/help/ru_RU/configuration/banner.xml
index c24eb4a..cff7dea 100644
--- a/scilab/modules/core/help/ru_RU/configuration/banner.xml
+++ b/scilab/modules/core/help/ru_RU/configuration/banner.xml
@@ -18,7 +18,18 @@
18 <refsection> 18 <refsection>
19 <title>Примеры</title> 19 <title>Примеры</title>
20 <programlisting role="example"><![CDATA[ 20 <programlisting role="example"><![CDATA[
21clc();banner() 21clc, banner()
22 ]]></programlisting> 22 ]]></programlisting>
23 <screen><![CDATA[
24 ___________________________________________
25 scilab-6.1.0
26
27 ESI Group
28 Copyright (c) 2017-2021 (ESI Group)
29 Copyright (c) 2011-2017 (Scilab Enterprises)
30 Copyright (c) 1989-2012 (INRIA)
31 Copyright (c) 1989-2007 (ENPC)
32 ___________________________________________
33]]></screen>
23 </refsection> 34 </refsection>
24</refentry> 35</refentry>
diff --git a/scilab/modules/core/help/ru_RU/configuration/getdebuginfo.xml b/scilab/modules/core/help/ru_RU/configuration/getdebuginfo.xml
index 50e68f1..34f84be 100644
--- a/scilab/modules/core/help/ru_RU/configuration/getdebuginfo.xml
+++ b/scilab/modules/core/help/ru_RU/configuration/getdebuginfo.xml
@@ -7,9 +7,7 @@
7 <refsynopsisdiv> 7 <refsynopsisdiv>
8 <title>Синтаксис</title> 8 <title>Синтаксис</title>
9 <synopsis> 9 <synopsis>
10 getdebuginfo() 10 [dynamic_info, static_info] = getdebuginfo()
11 dynamic_info = getdebuginfo();
12 [dynamic_info, static_info] = getdebuginfo();
13 </synopsis> 11 </synopsis>
14 </refsynopsisdiv> 12 </refsynopsisdiv>
15 <refsection> 13 <refsection>
@@ -18,18 +16,58 @@
18 <function>getdebuginfo</function> получает информацию о Scilab'е для отладки. 16 <function>getdebuginfo</function> получает информацию о Scilab'е для отладки.
19 </para> 17 </para>
20 <para> 18 <para>
21 <code>dynamic_info = getdebuginfo();</code> возвращает информацию о вашей системе. 19 <literal>dynamic_info = getdebuginfo()</literal> возвращает информацию о вашей системе.
22 </para> 20 </para>
23 <para> 21 <para>
24 <code>[dynamic_info,static_info] = getdebuginfo();</code> возвращает информацию о 22 <literal>[dynamic_info, static_info] = getdebuginfo()</literal> возвращает информацию о
25 вашей системе и о Scilab'е. 23 вашей системе и о Scilab'е.
26 </para> 24 </para>
27 </refsection> 25 </refsection>
28 <refsection> 26 <refsection>
29 <title>Примеры</title> 27 <title>Примеры</title>
30 <programlisting role="example"><![CDATA[ 28 <programlisting role="example"><![CDATA[
31[a,b]=getdebuginfo() 29[a, b] = getdebuginfo()
32 ]]></programlisting> 30 ]]></programlisting>
31 <screen><![CDATA[
32--> [a, b] = getdebuginfo()
33 a =
34 "Memory in use: 31 %"
35 "Total Physical Memory (Kbytes): 16618008"
36 "Free Physical Memory (Kbytes): 11381360"
37 "Total Paging File (Kbytes): 19108376"
38 "Free Paging File (Kbytes): 10309008"
39 "Total Virtual Memory (Kbytes): 137438953344"
40 "Free Virtual Memory (Kbytes): 137430188892"
41 "Free Extended Memory (Kbytes): 0"
42 "Operating System: Windows 8 x64"
43 "Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz"
44 "Number of processors: 12"
45 "Number of Video cards: 2"
46 "Video card #0: Intel(R) UHD Graphics 630"
47 "Video card #1: NVIDIA GeForce GTX 1660 Ti"
48 "Primary Video card driver version: 27.20.100.8681"
49 "Screen size: 1920 x 1080 32 bits"
50 "Number of Monitors: 1"
51 "Path: C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;..."
52 "ComSpec: C:\WINDOWS\system32\cmd.exe"
53 "TMP : C:\Users\me\AppData\Local\Temp"
54 "TEMP: C:\Users\me\AppData\Local\Temp"
55
56 b =
57 "Version: scilab-6.1.0"
58 "Compilation date: Feb 25 2020"
59 "Compilation time: 11:34:32"
60 "Compiler Architecture: X64"
61 "Compiled with Microsoft compiler (191627035)"
62 "BLAS library optimized version: MKL"
63 "XML version: 2.9.1"
64 "Tcl/Tk: Enable"
65 "TCL version: 8.5.9"
66 "TK version: 8.5.9"
67 "Path separator: ;"
68 "Directory separator: \"
69 "PCRE Version: 8.21"
70]]></screen>
33 </refsection> 71 </refsection>
34 <refsection role="see also"> 72 <refsection role="see also">
35 <title>Смотрите также</title> 73 <title>Смотрите также</title>
diff --git a/scilab/modules/core/help/ru_RU/configuration/getmodules.xml b/scilab/modules/core/help/ru_RU/configuration/getmodules.xml
index 275c3ae..96efe59 100644
--- a/scilab/modules/core/help/ru_RU/configuration/getmodules.xml
+++ b/scilab/modules/core/help/ru_RU/configuration/getmodules.xml
@@ -16,19 +16,15 @@
16 <varlistentry> 16 <varlistentry>
17 <term>res</term> 17 <term>res</term>
18 <listitem> 18 <listitem>
19 <para>трица стро</para> 19 <para>стбе срк: ен модлей, утнленных в Scilab</para>
20 </listitem> 20 </listitem>
21 </varlistentry> 21 </varlistentry>
22 </variablelist> 22 </variablelist>
23 </refsection> 23 </refsection>
24 <refsection> 24 <refsection>
25 <title>Описание</title>
26 <para>Возвращает список модулей, установленных в Scilab'е.</para>
27 </refsection>
28 <refsection>
29 <title>Примеры</title> 25 <title>Примеры</title>
30 <programlisting role="example"><![CDATA[ 26 <programlisting role="example"><![CDATA[
31modules=getmodules(); 27modules = getmodules();
32find(modules=="core"); 28find(modules=="core");
33with_module("core"); 29with_module("core");
34 ]]></programlisting> 30 ]]></programlisting>
diff --git a/scilab/modules/core/help/ru_RU/configuration/getos.xml b/scilab/modules/core/help/ru_RU/configuration/getos.xml
index c8f1a8e..45d5b72 100644
--- a/scilab/modules/core/help/ru_RU/configuration/getos.xml
+++ b/scilab/modules/core/help/ru_RU/configuration/getos.xml
@@ -9,8 +9,7 @@
9 <refsynopsisdiv> 9 <refsynopsisdiv>
10 <title>Синтаксис</title> 10 <title>Синтаксис</title>
11 <synopsis> 11 <synopsis>
12 OS=getos() 12 [OS, Version] = getos()
13 [OS,Version]=getos()
14 </synopsis> 13 </synopsis>
15 </refsynopsisdiv> 14 </refsynopsisdiv>
16 <refsection> 15 <refsection>
@@ -22,8 +21,22 @@
22 <refsection> 21 <refsection>
23 <title>Примеры</title> 22 <title>Примеры</title>
24 <programlisting role="example"><![CDATA[ 23 <programlisting role="example"><![CDATA[
25OS=getos() 24OS = getos()
26[OS,version] = getos() 25[OS, version] = getos()
26 ]]></programlisting>
27 <screen><![CDATA[
28--> OS = getos()
29 OS =
30 "Windows"
31
32--> [OS, version] = getos()
33 OS =
34 "Windows"
35
36 version =
37 "8 x64"
38]]></screen>
39 <programlisting role="example"><![CDATA[
27if (getos() == "Windows") then 40if (getos() == "Windows") then
28 disp("Scilab on Windows"); 41 disp("Scilab on Windows");
29end 42end
diff --git a/scilab/modules/core/help/ru_RU/configuration/getscilabmode.xml b/scilab/modules/core/help/ru_RU/configuration/getscilabmode.xml
index 44c920d..edb94ef 100644
--- a/scilab/modules/core/help/ru_RU/configuration/getscilabmode.xml
+++ b/scilab/modules/core/help/ru_RU/configuration/getscilabmode.xml
@@ -13,25 +13,30 @@
13 </refsynopsisdiv> 13 </refsynopsisdiv>
14 <refsection> 14 <refsection>
15 <title>Описание</ti