* Bug 12198 (+NRT): 'break case..while' & clear no longer overloadable as in end=1 83/19883/8
Samuel GOUGEON [Thu, 15 Mar 2018 02:22:33 +0000 (03:22 +0100)]
  http://bugzilla.scilab.org/12198

  Please pay attention to still unprotected keywords (see the test).
  Is this wished?

Change-Id: I06da2fa49f4afa938c2ac1b32ce7693bbb6a5b54

87 files changed:
scilab/CHANGES.md
scilab/etc/scilab.start
scilab/modules/ast/tests/nonreg_tests/bug_12198.tst [new file with mode: 0644]
scilab/modules/core/help/en_US/2_control_flow/break.xml
scilab/modules/core/help/en_US/2_control_flow/case.xml
scilab/modules/core/help/en_US/2_control_flow/continue.xml
scilab/modules/core/help/en_US/2_control_flow/do.xml
scilab/modules/core/help/en_US/2_control_flow/else.xml
scilab/modules/core/help/en_US/2_control_flow/elseif.xml
scilab/modules/core/help/en_US/2_control_flow/end.xml
scilab/modules/core/help/en_US/2_control_flow/for.xml
scilab/modules/core/help/en_US/2_control_flow/if.xml
scilab/modules/core/help/en_US/2_control_flow/resume.xml
scilab/modules/core/help/en_US/2_control_flow/return.xml
scilab/modules/core/help/en_US/2_control_flow/select.xml
scilab/modules/core/help/en_US/2_control_flow/then.xml
scilab/modules/core/help/en_US/2_control_flow/try.xml
scilab/modules/core/help/en_US/2_control_flow/while.xml
scilab/modules/core/help/en_US/variables/clear.xml
scilab/modules/core/help/fr_FR/2_control_flow/break.xml
scilab/modules/core/help/fr_FR/2_control_flow/case.xml
scilab/modules/core/help/fr_FR/2_control_flow/do.xml
scilab/modules/core/help/fr_FR/2_control_flow/else.xml
scilab/modules/core/help/fr_FR/2_control_flow/elseif.xml
scilab/modules/core/help/fr_FR/2_control_flow/end.xml
scilab/modules/core/help/fr_FR/2_control_flow/for.xml
scilab/modules/core/help/fr_FR/2_control_flow/if.xml
scilab/modules/core/help/fr_FR/2_control_flow/resume.xml
scilab/modules/core/help/fr_FR/2_control_flow/return.xml
scilab/modules/core/help/fr_FR/2_control_flow/select.xml
scilab/modules/core/help/fr_FR/2_control_flow/then.xml
scilab/modules/core/help/fr_FR/2_control_flow/try.xml
scilab/modules/core/help/fr_FR/2_control_flow/while.xml
scilab/modules/core/help/fr_FR/variables/clear.xml
scilab/modules/core/help/ja_JP/2_control_flow/break.xml
scilab/modules/core/help/ja_JP/2_control_flow/case.xml
scilab/modules/core/help/ja_JP/2_control_flow/continue.xml
scilab/modules/core/help/ja_JP/2_control_flow/do.xml
scilab/modules/core/help/ja_JP/2_control_flow/else.xml
scilab/modules/core/help/ja_JP/2_control_flow/elseif.xml
scilab/modules/core/help/ja_JP/2_control_flow/end.xml
scilab/modules/core/help/ja_JP/2_control_flow/for.xml
scilab/modules/core/help/ja_JP/2_control_flow/if.xml
scilab/modules/core/help/ja_JP/2_control_flow/resume.xml
scilab/modules/core/help/ja_JP/2_control_flow/return.xml
scilab/modules/core/help/ja_JP/2_control_flow/select.xml
scilab/modules/core/help/ja_JP/2_control_flow/then.xml
scilab/modules/core/help/ja_JP/2_control_flow/try.xml
scilab/modules/core/help/ja_JP/2_control_flow/while.xml
scilab/modules/core/help/ja_JP/variables/clear.xml
scilab/modules/core/help/pt_BR/2_control_flow/break.xml
scilab/modules/core/help/pt_BR/2_control_flow/case.xml
scilab/modules/core/help/pt_BR/2_control_flow/continue.xml
scilab/modules/core/help/pt_BR/2_control_flow/do.xml
scilab/modules/core/help/pt_BR/2_control_flow/else.xml
scilab/modules/core/help/pt_BR/2_control_flow/elseif.xml
scilab/modules/core/help/pt_BR/2_control_flow/end.xml
scilab/modules/core/help/pt_BR/2_control_flow/for.xml
scilab/modules/core/help/pt_BR/2_control_flow/if.xml
scilab/modules/core/help/pt_BR/2_control_flow/resume.xml
scilab/modules/core/help/pt_BR/2_control_flow/return.xml
scilab/modules/core/help/pt_BR/2_control_flow/select.xml
scilab/modules/core/help/pt_BR/2_control_flow/then.xml
scilab/modules/core/help/pt_BR/2_control_flow/try.xml
scilab/modules/core/help/pt_BR/2_control_flow/while.xml
scilab/modules/core/help/pt_BR/variables/clear.xml
scilab/modules/core/help/ru_RU/2_control_flow/break.xml
scilab/modules/core/help/ru_RU/2_control_flow/case.xml
scilab/modules/core/help/ru_RU/2_control_flow/continue.xml
scilab/modules/core/help/ru_RU/2_control_flow/do.xml
scilab/modules/core/help/ru_RU/2_control_flow/else.xml
scilab/modules/core/help/ru_RU/2_control_flow/elseif.xml
scilab/modules/core/help/ru_RU/2_control_flow/end.xml
scilab/modules/core/help/ru_RU/2_control_flow/for.xml
scilab/modules/core/help/ru_RU/2_control_flow/if.xml
scilab/modules/core/help/ru_RU/2_control_flow/resume.xml
scilab/modules/core/help/ru_RU/2_control_flow/return.xml
scilab/modules/core/help/ru_RU/2_control_flow/select.xml
scilab/modules/core/help/ru_RU/2_control_flow/then.xml
scilab/modules/core/help/ru_RU/2_control_flow/try.xml
scilab/modules/core/help/ru_RU/2_control_flow/while.xml
scilab/modules/core/help/ru_RU/variables/clear.xml
scilab/modules/functions/help/en_US/function.xml
scilab/modules/functions/help/fr_FR/function.xml
scilab/modules/functions/help/ja_JP/function.xml
scilab/modules/functions/help/pt_BR/function.xml
scilab/modules/functions/help/ru_RU/function.xml

index ed14805..d5a4b60 100644 (file)
@@ -120,6 +120,7 @@ See [the wiki page on porting code from 5.5 to 6.0](https://wiki.scilab.org/From
 These are reserved for cell definition.
 * New `&&` and `||` boolean AND and OR operators are introduced. They are shortcut in expressions even out of conditional tests, like `A = [1 %pi] || det([1 2])`
 * Syntax `%i:10` is now deprecated (only real scalars can be used).
+* Control and block keywords `break` `case` `catch` `continue` `do` `else` `elseif` `end` endfunction` `for` `function` `if` `resume` `return` `select` `then` `try` and `while` can no longer be overloaded as regular assignable variables as in `end=1`. They are now reserved and protected.
 * `else` is no longer supported in a `while ... end` control instruction.
 * Transposed matrix can now use the extraction operator directly `A'(1, 2)`.
 * Function without output argument cannot be called in assignation expression anymore:
@@ -386,6 +387,7 @@ Known issues
 * [#11583](http://bugzilla.scilab.org/show_bug.cgi?id=11583): When in Scinotes preferences the default header is erased, the available variables were no longer documented.
 * [#11916](http://bugzilla.scilab.org/show_bug.cgi?id=11916): Loading a graphic file containing several figures restored them by superimposing them in the same window.
 * [#12109](http://bugzilla.scilab.org/show_bug.cgi?id=12109): `execstr(.,"errcatch")` calling a macro returning before setting the argout crashed Scilab.
+* [#12198](http://bugzilla.scilab.org/show_bug.cgi?id=12198): Scilab control and block keywords `break case ... try while` and `clear()` could be overloaded as regular assignable variables.
 * [#12566](http://bugzilla.scilab.org/show_bug.cgi?id=12566): `disp()` of a T-list with a single field set to an encoded integer value generated an error.
 * [#13466](http://bugzilla.scilab.org/show_bug.cgi?id=13466): Since Scilab 5.5.0, it was no longer possible to dock the demo GUI.
 * [#13778](http://bugzilla.scilab.org/show_bug.cgi?id=13778): The size of `repmat([], [1 1 3])` was [0 0 3] instead of [0 0].
index 2ce7629..e7ea557 100644 (file)
@@ -81,6 +81,7 @@ end
 
 
 // Protect variable previously defined  ================================
+clear = clear          // special case: http://bugzilla.scilab.org/12198
 predef("all");
 
 // At startup, no interactive vertical paging by default. ==============
diff --git a/scilab/modules/ast/tests/nonreg_tests/bug_12198.tst b/scilab/modules/ast/tests/nonreg_tests/bug_12198.tst
new file mode 100644 (file)
index 0000000..596958a
--- /dev/null
@@ -0,0 +1,39 @@
+// =============================================================================
+// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+// Copyright (C) 2018 - Samuel GOUGEON
+//
+//  This file is distributed under the same license as the Scilab package.
+// =============================================================================
+//
+// <-- CLI SHELL MODE -->
+// <-- NO CHECK REF -->
+//
+// <-- Non-regression test for bug 12198 -->
+//
+// <-- Bugzilla URL -->
+// http://bugzilla.scilab.org/12198
+//
+// <-- Short Description -->
+// control keywords could be overloaded as regular variables.
+// In Scilab 6, they are no longer overloadable and are protected
+
+stillUnprotected = ["abort" "exit" "pause" "quit"];
+//--> select=1     // same scheme with try=1 and while=1
+//  > end
+//  > end
+//select=1
+//      ^^
+//Error: syntax error, unexpected =
+//
+keyws = ["break" "case" "catch" "continue" "do" "else" "elseif" "end" ..
+        "endfunction" "for" "function" "if" "resume" ..
+        "return" "select" "then" "try" "while"];
+
+for k = keyws
+    assert_checktrue(execstr(k+"=1","errcatch")~=0);
+end
+
+old = funcprot(0);
+assert_checktrue(execstr("clear=1","errcatch")~=0);
+assert_checktrue(execstr("clear clear","errcatch")~=0);
+funcprot(old);
index f8b3ea3..2ac6dcf 100644 (file)
@@ -1,4 +1,18 @@
 <?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2008 - INRIA
+ *
+ * Copyright (C) 2012 - 2016 - Scilab Enterprises
+ *
+ * This file is hereby licensed under the terms of the GNU GPL v2.0,
+ * pursuant to article 5.3.4 of the CeCILL v.2.1.
+ * This file was originally licensed under the terms of the CeCILL v2.1,
+ * and continues to be available under such terms.
+ * For more information, see the COPYING file which you should have received
+ * along with this program.
+ *
+ -->
 <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="break">
     <refnamediv>
         <refname>break</refname>
@@ -43,4 +57,16 @@ end
             </member>
         </simplelist>
     </refsection>
+    <refsection role="history">
+        <title>History</title>
+        <revhistory>
+            <revision>
+                <revnumber>6.0.0</revnumber>
+                <revdescription>
+                  <literal>break</literal> is now protected:
+                  Assignments like <literal>break=1</literal> are no longer possible.
+                </revdescription>
+            </revision>
+        </revhistory>
+    </refsection>
 </refentry>
index 4bfb391..2d3ee52 100644 (file)
@@ -1,4 +1,18 @@
 <?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2008 - INRIA
+ *
+ * Copyright (C) 2012 - 2016 - Scilab Enterprises
+ *
+ * This file is hereby licensed under the terms of the GNU GPL v2.0,
+ * pursuant to article 5.3.4 of the CeCILL v.2.1.
+ * This file was originally licensed under the terms of the CeCILL v2.1,
+ * and continues to be available under such terms.
+ * For more information, see the COPYING file which you should have received
+ * along with this program.
+ *
+ -->
 <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="case">
     <refnamediv>
         <refname>case</refname>
@@ -62,4 +76,16 @@ end
             </member>
         </simplelist>
     </refsection>
+    <refsection role="history">
+        <title>History</title>
+        <revhistory>
+            <revision>
+                <revnumber>6.0.0</revnumber>
+                <revdescription>
+                  <literal>case</literal> is now protected:
+                  Assignments like <literal>case=1</literal> are no longer possible.
+                </revdescription>
+            </revision>
+        </revhistory>
+    </refsection>
 </refentry>
index f21fa57..7148d50 100644 (file)
@@ -1,4 +1,18 @@
 <?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2008 - INRIA - Serge STEER
+ *
+ * Copyright (C) 2012 - 2016 - Scilab Enterprises
+ *
+ * This file is hereby licensed under the terms of the GNU GPL v2.0,
+ * pursuant to article 5.3.4 of the CeCILL v.2.1.
+ * This file was originally licensed under the terms of the CeCILL v2.1,
+ * and continues to be available under such terms.
+ * For more information, see the COPYING file which you should have received
+ * along with this program.
+ *
+ -->
 <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="continue">
     <refnamediv>
         <refname>continue</refname>
@@ -56,4 +70,16 @@ end
             </member>
         </simplelist>
     </refsection>
+    <refsection role="history">
+        <title>History</title>
+        <revhistory>
+            <revision>
+                <revnumber>6.0.0</revnumber>
+                <revdescription>
+                  <literal>continue</literal> is now protected:
+                  Assignments like <literal>continue=1</literal> is now impossible.
+                </revdescription>
+            </revision>
+        </revhistory>
+    </refsection>
 </refentry>
index b7767a1..3c303bb 100644 (file)
@@ -1,4 +1,18 @@
 <?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2008 - INRIA
+ *
+ * Copyright (C) 2012 - 2016 - Scilab Enterprises
+ *
+ * This file is hereby licensed under the terms of the GNU GPL v2.0,
+ * pursuant to article 5.3.4 of the CeCILL v.2.1.
+ * This file was originally licensed under the terms of the CeCILL v2.1,
+ * and continues to be available under such terms.
+ * For more information, see the COPYING file which you should have received
+ * along with this program.
+ *
+ -->
 <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="do">
     <refnamediv>
         <refname>do</refname>
@@ -43,4 +57,16 @@ end
             </member>
         </simplelist>
     </refsection>
+    <refsection role="history">
+        <title>History</title>
+        <revhistory>
+            <revision>
+                <revnumber>6.0.0</revnumber>
+                <revdescription>
+                  <literal>do</literal> is now protected:
+                  Assignments like <literal>do=1</literal> are no longer possible.
+                </revdescription>
+            </revision>
+        </revhistory>
+    </refsection>
 </refentry>
index c529a8f..b449c82 100644 (file)
@@ -1,4 +1,18 @@
 <?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2008 - INRIA
+ *
+ * Copyright (C) 2012 - 2016 - Scilab Enterprises
+ *
+ * This file is hereby licensed under the terms of the GNU GPL v2.0,
+ * pursuant to article 5.3.4 of the CeCILL v.2.1.
+ * This file was originally licensed under the terms of the CeCILL v2.1,
+ * and continues to be available under such terms.
+ * For more information, see the COPYING file which you should have received
+ * along with this program.
+ *
+ -->
 <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="else">
     <refnamediv>
         <refname>else</refname>
@@ -51,4 +65,16 @@ end
             </member>
         </simplelist>
     </refsection>
+    <refsection role="history">
+        <title>History</title>
+        <revhistory>
+            <revision>
+                <revnumber>6.0.0</revnumber>
+                <revdescription>
+                  <literal>else</literal> is now protected:
+                  Assignments like <literal>else=1</literal> are no longer possible.
+                </revdescription>
+            </revision>
+        </revhistory>
+    </refsection>
 </refentry>
index 72ff436..e8491bc 100644 (file)
@@ -1,4 +1,18 @@
 <?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2008 - INRIA
+ *
+ * Copyright (C) 2012 - 2016 - Scilab Enterprises
+ *
+ * This file is hereby licensed under the terms of the GNU GPL v2.0,
+ * pursuant to article 5.3.4 of the CeCILL v.2.1.
+ * This file was originally licensed under the terms of the CeCILL v2.1,
+ * and continues to be available under such terms.
+ * For more information, see the COPYING file which you should have received
+ * along with this program.
+ *
+ -->
 <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="elseif">
     <refnamediv>
         <refname>elseif</refname>
@@ -38,4 +52,16 @@ end
             </member>
         </simplelist>
     </refsection>
+    <refsection role="history">
+        <title>History</title>
+        <revhistory>
+            <revision>
+                <revnumber>6.0.0</revnumber>
+                <revdescription>
+                  <literal>elseif</literal> is now protected:
+                  Assignments like <literal>elseif=1</literal> are no longer possible.
+                </revdescription>
+            </revision>
+        </revhistory>
+    </refsection>
 </refentry>
index e18a689..8be4383 100644 (file)
@@ -1,4 +1,18 @@
 <?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2008 - INRIA
+ *
+ * Copyright (C) 2012 - 2016 - Scilab Enterprises
+ *
+ * This file is hereby licensed under the terms of the GNU GPL v2.0,
+ * pursuant to article 5.3.4 of the CeCILL v.2.1.
+ * This file was originally licensed under the terms of the CeCILL v2.1,
+ * and continues to be available under such terms.
+ * For more information, see the COPYING file which you should have received
+ * along with this program.
+ *
+ -->
 <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="end">
     <refnamediv>
         <refname>end</refname>
@@ -52,4 +66,16 @@ end
             </member>
         </simplelist>
     </refsection>
+    <refsection role="history">
+        <title>History</title>
+        <revhistory>
+            <revision>
+                <revnumber>6.0.0</revnumber>
+                <revdescription>
+                  <literal>end</literal> is now protected:
+                  Assignments like <literal>end=1</literal> are no longer possible.
+                </revdescription>
+            </revision>
+        </revhistory>
+    </refsection>
 </refentry>
index b622613..8310bbc 100644 (file)
@@ -171,7 +171,9 @@ for l = list([1 2;3 4], (1+%z)^3, 'example', [%F %T]); l, end
             <revision>
                 <revnumber>6.0.0</revnumber>
                 <revdescription>
-                    The for <literal>expression</literal> can now be a vector of graphic handles.
+                  The for <literal>expression</literal> can now be a vector of graphic handles.
+                  <literal>for</literal> is now protected:
+                  Assignments like <literal>for=1</literal> are no longer possible.
                 </revdescription>
             </revision>
         </revhistory>
index cde7b80..cc5d226 100644 (file)
@@ -1,4 +1,18 @@
 <?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2008 - INRIA
+ *
+ * Copyright (C) 2012 - 2016 - Scilab Enterprises
+ *
+ * This file is hereby licensed under the terms of the GNU GPL v2.0,
+ * pursuant to article 5.3.4 of the CeCILL v.2.1.
+ * This file was originally licensed under the terms of the CeCILL v2.1,
+ * and continues to be available under such terms.
+ * For more information, see the COPYING file which you should have received
+ * along with this program.
+ *
+ -->
 <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"
@@ -155,4 +169,16 @@ end
             </member>
         </simplelist>
     </refsection>
+    <refsection role="history">
+        <title>History</title>
+        <revhistory>
+            <revision>
+                <revnumber>6.0.0</revnumber>
+                <revdescription>
+                  <literal>if</literal> is now protected:
+                  Assignments like <literal>if=1</literal> are no longer possible.
+                </revdescription>
+            </revision>
+        </revhistory>
+    </refsection>
 </refentry>
index d56cea3..5e98555 100644 (file)
@@ -1,4 +1,18 @@
 <?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2008 - INRIA
+ *
+ * Copyright (C) 2012 - 2016 - Scilab Enterprises
+ *
+ * This file is hereby licensed under the terms of the GNU GPL v2.0,
+ * pursuant to article 5.3.4 of the CeCILL v.2.1.
+ * This file was originally licensed under the terms of the CeCILL v2.1,
+ * and continues to be available under such terms.
+ * For more information, see the COPYING file which you should have received
+ * along with this program.
+ *
+ -->
 <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="resume">
     <refnamediv>
         <refname>resume</refname>
@@ -110,4 +124,16 @@ foo2()
             </member>
         </simplelist>
     </refsection>
+    <refsection role="history">
+        <title>History</title>
+        <revhistory>
+            <revision>
+                <revnumber>6.0.0</revnumber>
+                <revdescription>
+                  <literal>resume</literal> is now protected:
+                  Assignments like <literal>resume=1</literal> are no longer possible.
+                </revdescription>
+            </revision>
+        </revhistory>
+    </refsection>
 </refentry>
index c3d7bfb..900a930 100644 (file)
@@ -1,4 +1,18 @@
 <?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2008 - INRIA
+ *
+ * Copyright (C) 2012 - 2016 - Scilab Enterprises
+ *
+ * This file is hereby licensed under the terms of the GNU GPL v2.0,
+ * pursuant to article 5.3.4 of the CeCILL v.2.1.
+ * This file was originally licensed under the terms of the CeCILL v2.1,
+ * and continues to be available under such terms.
+ * For more information, see the COPYING file which you should have received
+ * along with this program.
+ *
+ -->
 <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="return">
     <refnamediv>
         <refname>return</refname>
@@ -88,4 +102,16 @@ assert_checkequal(b,43)
             </member>
         </simplelist>
     </refsection>
+    <refsection role="history">
+        <title>History</title>
+        <revhistory>
+            <revision>
+                <revnumber>6.0.0</revnumber>
+                <revdescription>
+                  <literal>return</literal> is now protected:
+                  Assignments like <literal>return=1</literal> are no longer possible.
+                </revdescription>
+            </revision>
+        </revhistory>
+    </refsection>
 </refentry>
index b57f72a..f09affb 100644 (file)
@@ -1,4 +1,18 @@
 <?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2008 - INRIA
+ *
+ * Copyright (C) 2012 - 2016 - Scilab Enterprises
+ *
+ * This file is hereby licensed under the terms of the GNU GPL v2.0,
+ * pursuant to article 5.3.4 of the CeCILL v.2.1.
+ * This file was originally licensed under the terms of the CeCILL v2.1,
+ * and continues to be available under such terms.
+ * For more information, see the COPYING file which you should have received
+ * along with this program.
+ *
+ -->
 <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="select">
     <refnamediv>
         <refname>select</refname>
@@ -146,4 +160,16 @@ end
             </member>
         </simplelist>
     </refsection>
+    <refsection role="history">
+        <title>History</title>
+        <revhistory>
+            <revision>
+                <revnumber>6.0.0</revnumber>
+                <revdescription>
+                  <literal>select</literal> is now protected:
+                  Assignments like <literal>select=1</literal> are no longer possible.
+                </revdescription>
+            </revision>
+        </revhistory>
+    </refsection>
 </refentry>
index b4f39f1..01ea380 100644 (file)
@@ -1,4 +1,18 @@
 <?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2008 - INRIA
+ *
+ * Copyright (C) 2012 - 2016 - Scilab Enterprises
+ *
+ * This file is hereby licensed under the terms of the GNU GPL v2.0,
+ * pursuant to article 5.3.4 of the CeCILL v.2.1.
+ * This file was originally licensed under the terms of the CeCILL v2.1,
+ * and continues to be available under such terms.
+ * For more information, see the COPYING file which you should have received
+ * along with this program.
+ *
+ -->
 <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="then">
     <refnamediv>
         <refname>then</refname>
@@ -51,4 +65,16 @@ end
             </member>
         </simplelist>
     </refsection>
+    <refsection role="history">
+        <title>History</title>
+        <revhistory>
+            <revision>
+                <revnumber>6.0.0</revnumber>
+                <revdescription>
+                  <literal>then</literal> is now protected:
+                  Assignments like <literal>then=1</literal> are no longer possible.
+                </revdescription>
+            </revision>
+        </revhistory>
+    </refsection>
 </refentry>
index 770666d..c09a815 100644 (file)
@@ -1,4 +1,18 @@
 <?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2008 - INRIA
+ *
+ * Copyright (C) 2012 - 2016 - Scilab Enterprises
+ *
+ * This file is hereby licensed under the terms of the GNU GPL v2.0,
+ * pursuant to article 5.3.4 of the CeCILL v.2.1.
+ * This file was originally licensed under the terms of the CeCILL v2.1,
+ * and continues to be available under such terms.
+ * For more information, see the COPYING file which you should have received
+ * along with this program.
+ *
+ -->
 <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="try" xml:lang="en">
     <refnamediv>
         <refname>try</refname>
@@ -131,4 +145,17 @@ nestedtry("a string","a string")
             </member>
         </simplelist>
     </refsection>
+    <refsection role="history">
+        <title>History</title>
+        <revhistory>
+            <revision>
+                <revnumber>6.0.0</revnumber>
+                <revdescription>
+                  <literal>try</literal> and <literal>catch</literal> are now protected:
+                  Assignments like <literal>try=1</literal> or <literal>catch=2</literal> are no
+                  longer possible.
+                </revdescription>
+            </revision>
+        </revhistory>
+    </refsection>
 </refentry>
index fad736f..3456807 100644 (file)
@@ -1,4 +1,18 @@
 <?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2008 - INRIA
+ *
+ * Copyright (C) 2012 - 2016 - Scilab Enterprises
+ *
+ * This file is hereby licensed under the terms of the GNU GPL v2.0,
+ * pursuant to article 5.3.4 of the CeCILL v.2.1.
+ * This file was originally licensed under the terms of the CeCILL v2.1,
+ * and continues to be available under such terms.
+ * For more information, see the COPYING file which you should have received
+ * along with this program.
+ *
+ -->
 <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="while">
     <refnamediv>
         <refname>while</refname>
@@ -116,7 +130,15 @@ e,k
             <revision>
                 <revnumber>6.0.0</revnumber>
                 <revremark>
-                    The <literal>[,else instructions]</literal> construction no more supported.
+                    <itemizedlist>
+                      <listitem>
+                        The <literal>[,else instructions]</literal> syntax is no longer supported.
+                      </listitem>
+                      <listitem>
+                        <literal>while</literal> is now protected:
+                        Assignments like <literal>while=1</literal> are no longer possible.
+                      </listitem>
+                  </itemizedlist>
                 </revremark>
             </revision>
         </revhistory>
index 476fca1..e7ecd28 100644 (file)
@@ -1,4 +1,18 @@
 <?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2008 - INRIA
+ *
+ * Copyright (C) 2012 - 2016 - Scilab Enterprises
+ *
+ * This file is hereby licensed under the terms of the GNU GPL v2.0,
+ * pursuant to article 5.3.4 of the CeCILL v.2.1.
+ * This file was originally licensed under the terms of the CeCILL v2.1,
+ * and continues to be available under such terms.
+ * For more information, see the COPYING file which you should have received
+ * along with this program.
+ *
+ -->
 <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"
@@ -91,6 +105,13 @@ isdef("a") | isdef("b") | isdef("c") // F
                 <revnumber>5.5.0</revnumber>
                 <revdescription>Argument can now be a matrix of strings</revdescription>
             </revision>
+            <revision>
+                <revnumber>6.0.0</revnumber>
+                <revdescription>
+                  <literal>clear</literal> is now protected:
+                  Assignments like <literal>clear=1</literal> are no longer possible.
+                </revdescription>
+            </revision>
         </revhistory>
     </refsection>
 </refentry>
index 67f83e0..7efeb54 100644 (file)
@@ -1,4 +1,18 @@
 <?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2008 - INRIA
+ *
+ * Copyright (C) 2012 - 2016 - Scilab Enterprises
+ *
+ * This file is hereby licensed under the terms of the GNU GPL v2.0,
+ * pursuant to article 5.3.4 of the CeCILL v.2.1.
+ * This file was originally licensed under the terms of the CeCILL v2.1,
+ * and continues to be available under such terms.
+ * For more information, see the COPYING file which you should have received
+ * along with this program.
+ *
+ -->
 <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="break">
     <refnamediv>
         <refname>break</refname>
@@ -42,4 +56,16 @@ end
             </member>
         </simplelist>
     </refsection>
+    <refsection role="history">
+        <title>Historique</title>
+        <revhistory>
+            <revision>
+                <revnumber>6.0.0</revnumber>
+                <revdescription>
+                  <literal>break</literal> est désormais protégé : les affectations telles que
+                  <literal>break=1</literal> sont maintenant impossibles.
+                </revdescription>
+            </revision>
+        </revhistory>
+    </refsection>
 </refentry>
index 1524d41..640b7e9 100644 (file)
@@ -1,4 +1,18 @@
 <?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2008 - INRIA
+ *
+ * Copyright (C) 2012 - 2016 - Scilab Enterprises
+ *
+ * This file is hereby licensed under the terms of the GNU GPL v2.0,
+ * pursuant to article 5.3.4 of the CeCILL v.2.1.
+ * This file was originally licensed under the terms of the CeCILL v2.1,
+ * and continues to be available under such terms.
+ * For more information, see the COPYING file which you should have received
+ * along with this program.
+ *
+ -->
 <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="case">
     <refnamediv>
         <refname>case</refname>
@@ -58,4 +72,16 @@ end
             </member>
         </simplelist>
     </refsection>
+    <refsection role="history">
+        <title>Historique</title>
+        <revhistory>
+            <revision>
+                <revnumber>6.0.0</revnumber>
+                <revdescription>
+                  <literal>case</literal> est maintenant protégé. Les affectations telles que
+                  <literal>case=1</literal> sont désormais impossibles.
+                </revdescription>
+            </revision>
+        </revhistory>
+    </refsection>
 </refentry>
index 2325b05..142cd23 100644 (file)
@@ -1,4 +1,18 @@
 <?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2008 - INRIA
+ *
+ * Copyright (C) 2012 - 2016 - Scilab Enterprises
+ *
+ * This file is hereby licensed under the terms of the GNU GPL v2.0,
+ * pursuant to article 5.3.4 of the CeCILL v.2.1.
+ * This file was originally licensed under the terms of the CeCILL v2.1,
+ * and continues to be available under such terms.
+ * For more information, see the COPYING file which you should have received
+ * along with this program.
+ *
+ -->
 <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="do">
     <refnamediv>
         <refname>do</refname>
@@ -43,4 +57,16 @@ end
             </member>
         </simplelist>
     </refsection>
+    <refsection role="history">
+        <title>Historique</title>
+        <revhistory>
+            <revision>
+                <revnumber>6.0.0</revnumber>
+                <revdescription>
+                  <literal>do</literal> est maintenant protégé. Les affectations telles que
+                  <literal>do=1</literal> ne sont plus possibles.
+                </revdescription>
+            </revision>
+        </revhistory>
+    </refsection>
 </refentry>
index 9ad41d3..e002152 100644 (file)
@@ -1,4 +1,18 @@
 <?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2008 - INRIA
+ *
+ * Copyright (C) 2012 - 2016 - Scilab Enterprises
+ *
+ * This file is hereby licensed under the terms of the GNU GPL v2.0,
+ * pursuant to article 5.3.4 of the CeCILL v.2.1.
+ * This file was originally licensed under the terms of the CeCILL v2.1,
+ * and continues to be available under such terms.
+ * For more information, see the COPYING file which you should have received
+ * along with this program.
+ *
+ -->
 <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="else">
     <refnamediv>
         <refname>else</refname>
@@ -51,4 +65,16 @@ end
             </member>
         </simplelist>
     </refsection>
+    <refsection role="history">
+        <title>Historique</title>
+        <revhistory>
+            <revision>
+                <revnumber>6.0.0</revnumber>
+                <revdescription>
+                  <literal>else</literal> est désormais protégé. Les affectations telles que
+                  <literal>else=1</literal> ne sont plus possibles
+                </revdescription>
+            </revision>
+        </revhistory>
+    </refsection>
 </refentry>
index e313885..582a4d2 100644 (file)
@@ -1,4 +1,18 @@
 <?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2008 - INRIA
+ *
+ * Copyright (C) 2012 - 2016 - Scilab Enterprises
+ *
+ * This file is hereby licensed under the terms of the GNU GPL v2.0,
+ * pursuant to article 5.3.4 of the CeCILL v.2.1.
+ * This file was originally licensed under the terms of the CeCILL v2.1,
+ * and continues to be available under such terms.
+ * For more information, see the COPYING file which you should have received
+ * along with this program.
+ *
+ -->
 <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="elseif">
     <refnamediv>
         <refname>elseif</refname>
@@ -38,4 +52,16 @@ end
             </member>
         </simplelist>
     </refsection>
+    <refsection role="history">
+        <title>Historique</title>
+        <revhistory>
+            <revision>
+                <revnumber>6.0.0</revnumber>
+                <revdescription>
+                  <literal>elseif</literal> est désormais protégé. Les affectations telles que
+                  <literal>elseif=1</literal> ne sont plus possibles.
+                </revdescription>
+            </revision>
+        </revhistory>
+    </refsection>
 </refentry>
index 72e8f5c..3bea03d 100644 (file)
@@ -1,4 +1,18 @@
 <?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2008 - INRIA
+ *
+ * Copyright (C) 2012 - 2016 - Scilab Enterprises
+ *
+ * This file is hereby licensed under the terms of the GNU GPL v2.0,
+ * pursuant to article 5.3.4 of the CeCILL v.2.1.
+ * This file was originally licensed under the terms of the CeCILL v2.1,
+ * and continues to be available under such terms.
+ * For more information, see the COPYING file which you should have received
+ * along with this program.
+ *
+ -->
 <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="end">
     <refnamediv>
         <refname>end</refname>
             </member>
         </simplelist>
     </refsection>
+    <refsection role="history">
+        <title>Historique</title>
+        <revhistory>
+            <revision>
+                <revnumber>6.0.0</revnumber>
+                <revdescription>
+                  <literal>end</literal> est désormais protégé. Les affectations telles que
+                  <literal>end=1</literal> ne sont plus possibles.
+                </revdescription>
+            </revision>
+        </revhistory>
+    </refsection>
 </refentry>
index 6d28c7d..883a77c 100644 (file)
@@ -172,6 +172,8 @@ for l = list([1 2;3 4], (1+%z)^3, 'example', [%F %T]); l, end
                 <revdescription>
                     L'<literal>expression</literal> alimentant les itérations peut maintenant être
                     un vecteur d'identifiants graphiques.
+                    <literal>for</literal> est désormais protégé. Les affectations telles que
+                    <literal>for=1</literal> ne sont plus possibles.
                 </revdescription>
             </revision>
         </revhistory>
index 699a295..3154053 100644 (file)
@@ -1,4 +1,18 @@
 <?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2008 - INRIA
+ *
+ * Copyright (C) 2012 - 2016 - Scilab Enterprises
+ *
+ * This file is hereby licensed under the terms of the GNU GPL v2.0,
+ * pursuant to article 5.3.4 of the CeCILL v.2.1.
+ * This file was originally licensed under the terms of the CeCILL v2.1,
+ * and continues to be available under such terms.
+ * For more information, see the COPYING file which you should have received
+ * along with this program.
+ *
+ -->
 <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="if">
     <refnamediv>
         <refname>if</refname>
@@ -112,4 +126,16 @@ end
             </member>
         </simplelist>
     </refsection>
+    <refsection role="history">
+        <title>Historique</title>
+        <revhistory>
+            <revision>
+                <revnumber>6.0.0</revnumber>
+                <revdescription>
+                  <literal>if</literal> est désormais protégé. Les affectations telles que
+                  <literal>if=1</literal> ne sont plus possibles.
+                </revdescription>
+            </revision>
+        </revhistory>
+    </refsection>
 </refentry>
index dcf4cd1..91bdd90 100644 (file)
@@ -1,4 +1,18 @@
 <?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2008 - INRIA
+ *
+ * Copyright (C) 2012 - 2016 - Scilab Enterprises
+ *
+ * This file is hereby licensed under the terms of the GNU GPL v2.0,
+ * pursuant to article 5.3.4 of the CeCILL v.2.1.
+ * This file was originally licensed under the terms of the CeCILL v2.1,
+ * and continues to be available under such terms.
+ * For more information, see the COPYING file which you should have received
+ * along with this program.
+ *
+ -->
 <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="resume">
     <refnamediv>
         <refname>resume</refname>
@@ -85,4 +99,16 @@ foo2()
             </member>
         </simplelist>
     </refsection>
+    <refsection role="history">
+        <title>Historique</title>
+        <revhistory>
+            <revision>
+                <revnumber>6.0.0</revnumber>
+                <revdescription>
+                  <literal>resume</literal> est désormais protégé. Les affectations telles que
+                  <literal>resume=1</literal> ne sont plus possibles.
+                </revdescription>
+            </revision>
+        </revhistory>
+    </refsection>
 </refentry>
index 21d09e3..2dee217 100644 (file)
@@ -1,4 +1,18 @@
 <?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2008 - INRIA
+ *
+ * Copyright (C) 2012 - 2016 - Scilab Enterprises
+ *
+ * This file is hereby licensed under the terms of the GNU GPL v2.0,
+ * pursuant to article 5.3.4 of the CeCILL v.2.1.
+ * This file was originally licensed under the terms of the CeCILL v2.1,
+ * and continues to be available under such terms.
+ * For more information, see the COPYING file which you should have received
+ * along with this program.
+ *
+ -->
 <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="return">
     <refnamediv>
         <refname>return</refname>
             </member>
         </simplelist>
     </refsection>
+    <refsection role="history">
+        <title>Historique</title>
+        <revhistory>
+            <revision>
+                <revnumber>6.0.0</revnumber>
+                <revdescription>
+                  <literal>return</literal> est maintenant protégé. Les affectations telles que
+                  <literal>return=1</literal> ne sont plus possibles.
+                </revdescription>
+            </revision>
+        </revhistory>
+    </refsection>
 </refentry>
index dc88db9..b8639b3 100644 (file)
@@ -1,4 +1,18 @@
 <?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2008 - INRIA
+ *
+ * Copyright (C) 2012 - 2016 - Scilab Enterprises
+ *
+ * This file is hereby licensed under the terms of the GNU GPL v2.0,
+ * pursuant to article 5.3.4 of the CeCILL v.2.1.
+ * This file was originally licensed under the terms of the CeCILL v2.1,
+ * and continues to be available under such terms.
+ * For more information, see the COPYING file which you should have received
+ * along with this program.
+ *
+ -->
 <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="select">
     <refnamediv>
         <refname>select</refname>
@@ -145,4 +159,16 @@ end
             </member>
         </simplelist>
     </refsection>
+    <refsection role="history">
+        <title>Historique</title>
+        <revhistory>
+            <revision>
+                <revnumber>6.0.0</revnumber>
+                <revdescription>
+                  <literal>select</literal> est maintenant protégé. Les affectations telles que
+                  <literal>select=1</literal> ne sont plus possibles.
+                </revdescription>
+            </revision>
+        </revhistory>
+    </refsection>
 </refentry>
index 7f4bb78..2a67d6e 100644 (file)
@@ -1,4 +1,18 @@
 <?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2008 - INRIA
+ *
+ * Copyright (C) 2012 - 2016 - Scilab Enterprises
+ *
+ * This file is hereby licensed under the terms of the GNU GPL v2.0,
+ * pursuant to article 5.3.4 of the CeCILL v.2.1.
+ * This file was originally licensed under the terms of the CeCILL v2.1,
+ * and continues to be available under such terms.
+ * For more information, see the COPYING file which you should have received
+ * along with this program.
+ *
+ -->
 <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="then">
     <refnamediv>
         <refname>then</refname>
@@ -50,4 +64,16 @@ end
             </member>
         </simplelist>
     </refsection>
+    <refsection role="history">
+        <title>Historique</title>
+        <revhistory>
+            <revision>
+                <revnumber>6.0.0</revnumber>
+                <revdescription>
+                  <literal>then</literal> est désormais protégé. Les affectations telles que
+                  <literal>then=1</literal> ne sont plus possibles.
+                </revdescription>
+            </revision>
+        </revhistory>
+    </refsection>
 </refentry>
index d9ce346..ffc3069 100644 (file)
@@ -1,4 +1,18 @@
 <?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2008 - INRIA
+ *
+ * Copyright (C) 2012 - 2016 - Scilab Enterprises
+ *
+ * This file is hereby licensed under the terms of the GNU GPL v2.0,
+ * pursuant to article 5.3.4 of the CeCILL v.2.1.
+ * This file was originally licensed under the terms of the CeCILL v2.1,
+ * and continues to be available under such terms.
+ * For more information, see the COPYING file which you should have received
+ * along with this program.
+ *
+ -->
 <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="try" xml:lang="fr">
     <refnamediv>
         <refname>try</refname>
@@ -134,4 +148,17 @@ nestedtry("une chaîne","une chaîne")
             </member>
         </simplelist>
     </refsection>
+    <refsection role="history">
+        <title>Historique</title>
+        <revhistory>
+            <revision>
+                <revnumber>6.0.0</revnumber>
+                <revdescription>
+                  <literal>try</literal> et <literal>catch</literal> sont maintenant protégés. Les
+                  affectations telles que <literal>try=1</literal> ou <literal>catch=2</literal>
+                  ne sont plus possibles.
+                </revdescription>
+            </revision>
+        </revhistory>
+    </refsection>
 </refentry>
index 7f2aecb..ebfb857 100644 (file)
@@ -1,4 +1,18 @@
 <?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2008 - INRIA
+ *
+ * Copyright (C) 2012 - 2016 - Scilab Enterprises
+ *
+ * This file is hereby licensed under the terms of the GNU GPL v2.0,
+ * pursuant to article 5.3.4 of the CeCILL v.2.1.
+ * This file was originally licensed under the terms of the CeCILL v2.1,
+ * and continues to be available under such terms.
+ * For more information, see the COPYING file which you should have received
+ * along with this program.
+ *
+ -->
 <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="while">
     <refnamediv>
         <refname>while</refname>
@@ -107,12 +121,20 @@ e,k
         </simplelist>
     </refsection>
     <refsection>
-        <title>History</title>
+        <title>Historique</title>
         <revhistory>
             <revision>
                 <revnumber>6.0.0</revnumber>
                 <revremark>
-                    La construction <literal>[,else instructions]</literal> n'est plus supportée.
+                    <itemizedlist>
+                      <listitem>
+                        La syntaxe avec <literal>[,else instructions]</literal> n'est plus admise.
+                      </listitem>
+                      <listitem>
+                        <literal>while</literal> est désormais protégé. Les affectations telles que
+                        <literal>while=1</literal> ne sont plus possibles.
+                      </listitem>
+                  </itemizedlist>
                 </revremark>
             </revision>
         </revhistory>
index e73e496..c99587d 100644 (file)
@@ -3,6 +3,20 @@
           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="clear">
+<!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2008 - INRIA
+ *
+ * Copyright (C) 2012 - 2016 - Scilab Enterprises
+ *
+ * This file is hereby licensed under the terms of the GNU GPL v2.0,
+ * pursuant to article 5.3.4 of the CeCILL v.2.1.
+ * This file was originally licensed under the terms of the CeCILL v2.1,
+ * and continues to be available under such terms.
+ * For more information, see the COPYING file which you should have received
+ * along with this program.
+ *
+ -->
     <refnamediv>
         <refname>clear</refname>
         <refpurpose>Suppression de variables</refpurpose>
@@ -79,6 +93,13 @@ isdef("a") | isdef("b") | isdef("c") // F
                 <revnumber>5.5.0</revnumber>
                 <revdescription>Peut prendre une matrice de chaînes de caractères en argument</revdescription>
             </revision>
+            <revision>
+                <revnumber>6.0.0</revnumber>
+                <revdescription>
+                  <literal>clear</literal> est désormais protégé. Les affectations telles que
+                  <literal>clear=1</literal> ne sont plus possibles.
+                </revdescription>
+            </revision>
         </revhistory>
     </refsection>
 </refentry>
index 61b86e1..437561d 100644 (file)
@@ -1,4 +1,18 @@
 <?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2008 - INRIA
+ *
+ * Copyright (C) 2012 - 2016 - Scilab Enterprises
+ *
+ * This file is hereby licensed under the terms of the GNU GPL v2.0,
+ * pursuant to article 5.3.4 of the CeCILL v.2.1.
+ * This file was originally licensed under the terms of the CeCILL v2.1,
+ * and continues to be available under such terms.
+ * For more information, see the COPYING file which you should have received
+ * along with this program.
+ *
+ -->
 <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="break">
     <refnamediv>
         <refname>break</refname>
@@ -43,4 +57,16 @@ end
             </member>
         </simplelist>
     </refsection>
+    <refsection role="history">
+        <title>履歴</title>
+        <revhistory>
+            <revision>
+                <revnumber>6.0.0</revnumber>
+                <revdescription>
+                  <literal>break</literal> is now protected:
+                  Assignments like <literal>break=1</literal> are no longer possible.
+                </revdescription>
+            </revision>
+        </revhistory>
+    </refsection>
 </refentry>
index 17f23eb..1b6deec 100644 (file)
@@ -1,4 +1,18 @@
 <?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2008 - INRIA
+ *
+ * Copyright (C) 2012 - 2016 - Scilab Enterprises
+ *
+ * This file is hereby licensed under the terms of the GNU GPL v2.0,
+ * pursuant to article 5.3.4 of the CeCILL v.2.1.
+ * This file was originally licensed under the terms of the CeCILL v2.1,
+ * and continues to be available under such terms.
+ * For more information, see the COPYING file which you should have received
+ * along with this program.
+ *
+ -->
 <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="case">
     <refnamediv>
         <refname>case</refname>
@@ -62,4 +76,16 @@ end
             </member>
         </simplelist>
     </refsection>
+    <refsection role="history">
+        <title>履歴</title>
+        <revhistory>
+            <revision>
+                <revnumber>6.0.0</revnumber>
+                <revdescription>
+                  <literal>case</literal> is now protected:
+                  Assignments like <literal>case=1</literal> are no longer possible.
+                </revdescription>
+            </revision>
+        </revhistory>
+    </refsection>
 </refentry>
index 84cbd3f..e9c90e9 100644 (file)
@@ -1,4 +1,18 @@
 <?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2008 - INRIA - Serge STEER
+ *
+ * Copyright (C) 2012 - 2016 - Scilab Enterprises
+ *
+ * This file is hereby licensed under the terms of the GNU GPL v2.0,
+ * pursuant to article 5.3.4 of the CeCILL v.2.1.
+ * This file was originally licensed under the terms of the CeCILL v2.1,
+ * and continues to be available under such terms.
+ * For more information, see the COPYING file which you should have received
+ * along with this program.
+ *
+ -->
 <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="continue">
     <refnamediv>
         <refname>continue</refname>
@@ -55,4 +69,16 @@ end
             </member>
         </simplelist>
     </refsection>
+    <refsection role="history">
+        <title>履歴</title>
+        <revhistory>
+            <revision>
+                <revnumber>6.0.0</revnumber>
+                <revdescription>
+                  <literal>continue</literal> is now protected:
+                  Assignments like <literal>continue=1</literal> is now impossible.
+                </revdescription>
+            </revision>
+        </revhistory>
+    </refsection>
 </refentry>
index ee2ce50..ae490cb 100644 (file)
@@ -1,4 +1,18 @@
 <?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2008 - INRIA
+ *
+ * Copyright (C) 2012 - 2016 - Scilab Enterprises
+ *
+ * This file is hereby licensed under the terms of the GNU GPL v2.0,
+ * pursuant to article 5.3.4 of the CeCILL v.2.1.
+ * This file was originally licensed under the terms of the CeCILL v2.1,
+ * and continues to be available under such terms.
+ * For more information, see the COPYING file which you should have received
+ * along with this program.
+ *
+ -->
 <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="do">
     <refnamediv>
         <refname>do</refname>
@@ -43,4 +57,16 @@ end
             </member>
         </simplelist>
     </refsection>
+    <refsection role="history">
+        <title>履歴</title>
+        <revhistory>
+            <revision>
+                <revnumber>6.0.0</revnumber>
+                <revdescription>
+                  <literal>do</literal> is now protected:
+                  Assignments like <literal>do=1</literal> are no longer possible.
+                </revdescription>
+            </revision>
+        </revhistory>
+    </refsection>
 </refentry>
index 26e3469..826295c 100644 (file)
@@ -1,4 +1,18 @@
 <?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2008 - INRIA
+ *
+ * Copyright (C) 2012 - 2016 - Scilab Enterprises
+ *
+ * This file is hereby licensed under the terms of the GNU GPL v2.0,
+ * pursuant to article 5.3.4 of the CeCILL v.2.1.
+ * This file was originally licensed under the terms of the CeCILL v2.1,
+ * and continues to be available under such terms.
+ * For more information, see the COPYING file which you should have received
+ * along with this program.
+ *
+ -->
 
 <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="else">
 
@@ -70,6 +84,18 @@ end
         </simplelist>
 
     </refsection>
+    <refsection role="history">
+        <title>履歴</title>
+        <revhistory>
+            <revision>
+                <revnumber>6.0.0</revnumber>
+                <revdescription>
+                  <literal>else</literal> is now protected:
+                  Assignments like <literal>else=1</literal> are no longer possible.
+                </revdescription>
+            </revision>
+        </revhistory>
+    </refsection>
 
 </refentry>
 
index e50b128..58baaf5 100644 (file)
@@ -1,4 +1,18 @@
 <?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2008 - INRIA
+ *
+ * Copyright (C) 2012 - 2016 - Scilab Enterprises
+ *
+ * This file is hereby licensed under the terms of the GNU GPL v2.0,
+ * pursuant to article 5.3.4 of the CeCILL v.2.1.
+ * This file was originally licensed under the terms of the CeCILL v2.1,
+ * and continues to be available under such terms.
+ * For more information, see the COPYING file which you should have received
+ * along with this program.
+ *
+ -->
 
 <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="elseif">
 
@@ -68,6 +82,18 @@ end
         </simplelist>
 
     </refsection>
+    <refsection role="history">
+        <title>履歴</title>
+        <revhistory>
+            <revision>
+                <revnumber>6.0.0</revnumber>
+                <revdescription>
+                  <literal>elseif</literal> is now protected:
+                  Assignments like <literal>elseif=1</literal> are no longer possible.
+                </revdescription>
+            </revision>
+        </revhistory>
+    </refsection>
 
 </refentry>
 
index 1abe773..04232a2 100644 (file)
@@ -1,4 +1,18 @@
 <?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2008 - INRIA
+ *
+ * Copyright (C) 2012 - 2016 - Scilab Enterprises
+ *
+ * This file is hereby licensed under the terms of the GNU GPL v2.0,
+ * pursuant to article 5.3.4 of the CeCILL v.2.1.
+ * This file was originally licensed under the terms of the CeCILL v2.1,
+ * and continues to be available under such terms.
+ * For more information, see the COPYING file which you should have received
+ * along with this program.
+ *
+ -->
 
 <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="end">
 
@@ -88,6 +102,17 @@ end
         </simplelist>
 
     </refsection>
-
+    <refsection role="history">
+        <title>履歴</title>
+        <revhistory>
+            <revision>
+                <revnumber>6.0.0</revnumber>
+                <revdescription>
+                  <literal>end</literal> is now protected:
+                  Assignments like <literal>end=1</literal> are no longer possible.
+                </revdescription>
+            </revision>
+        </revhistory>
+    </refsection>
 </refentry>
 
index f47b197..fc5366a 100644 (file)
@@ -174,6 +174,8 @@ for l = list([1 2;3 4], (1+%z)^3, 'example', [%F %T]); l, end
                 <revnumber>6.0.0</revnumber>
                 <revdescription>
                     The for <literal>expression</literal> can now be a vector of graphic handles.
+                    <literal>for</literal> is now protected:
+                    Assignments like <literal>for=1</literal> are no longer possible.
                 </revdescription>
             </revision>
         </revhistory>
index c354dcc..0cbec44 100644 (file)
@@ -1,4 +1,18 @@
 <?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2008 - INRIA
+ *
+ * Copyright (C) 2012 - 2016 - Scilab Enterprises
+ *
+ * This file is hereby licensed under the terms of the GNU GPL v2.0,
+ * pursuant to article 5.3.4 of the CeCILL v.2.1.
+ * This file was originally licensed under the terms of the CeCILL v2.1,
+ * and continues to be available under such terms.
+ * For more information, see the COPYING file which you should have received
+ * along with this program.
+ *
+ -->
 <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="if">
     <refnamediv>
         <refname>if then else</refname>
@@ -155,4 +169,16 @@ end
             </member>
         </simplelist>
     </refsection>
+    <refsection role="history">
+        <title>履歴</title>
+        <revhistory>
+            <revision>
+                <revnumber>6.0.0</revnumber>
+                <revdescription>
+                  <literal>if</literal> is now protected:
+                  Assignments like <literal>if=1</literal> are no longer possible.
+                </revdescription>
+            </revision>
+        </revhistory>
+    </refsection>
 </refentry>
index 987df4d..a27cd82 100644 (file)
@@ -1,4 +1,18 @@
 <?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2008 - INRIA
+ *
+ * Copyright (C) 2012 - 2016 - Scilab Enterprises
+ *
+ * This file is hereby licensed under the terms of the GNU GPL v2.0,
+ * pursuant to article 5.3.4 of the CeCILL v.2.1.
+ * This file was originally licensed under the terms of the CeCILL v2.1,
+ * and continues to be available under such terms.
+ * For more information, see the COPYING file which you should have received
+ * along with this program.
+ *
+ -->
 <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="resume">
     <refnamediv>
         <refname>resume</refname>
@@ -113,4 +127,16 @@ foo2()
             </member>
         </simplelist>
     </refsection>
+    <refsection role="history">
+        <title>履歴</title>
+        <revhistory>
+            <revision>
+                <revnumber>6.0.0</revnumber>
+                <revdescription>
+                  <literal>resume</literal> is now protected:
+                  Assignments like <literal>resume=1</literal> are no longer possible.
+                </revdescription>
+            </revision>
+        </revhistory>
+    </refsection>
 </refentry>
index a7daba8..a777e0e 100644 (file)
@@ -1,4 +1,18 @@
 <?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2008 - INRIA
+ *
+ * Copyright (C) 2012 - 2016 - Scilab Enterprises
+ *
+ * This file is hereby licensed under the terms of the GNU GPL v2.0,
+ * pursuant to article 5.3.4 of the CeCILL v.2.1.
+ * This file was originally licensed under the terms of the CeCILL v2.1,
+ * and continues to be available under such terms.
+ * For more information, see the COPYING file which you should have received
+ * along with this program.
+ *
+ -->
 <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="return">
     <refnamediv>
         <refname>return</refname>
@@ -91,4 +105,16 @@ assert_checkequal(b,43)
             </member>
         </simplelist>
     </refsection>
+    <refsection role="history">
+        <title>履歴</title>
+        <revhistory>
+            <revision>
+                <revnumber>6.0.0</revnumber>
+                <revdescription>
+                  <literal>return</literal> is now protected:
+                  Assignments like <literal>return=1</literal> are no longer possible.
+                </revdescription>
+            </revision>
+        </revhistory>
+    </refsection>
 </refentry>
index a9ba41c..816cc0e 100644 (file)
@@ -1,4 +1,18 @@
 <?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2008 - INRIA
+ *
+ * Copyright (C) 2012 - 2016 - Scilab Enterprises
+ *
+ * This file is hereby licensed under the terms of the GNU GPL v2.0,
+ * pursuant to article 5.3.4 of the CeCILL v.2.1.
+ * This file was originally licensed under the terms of the CeCILL v2.1,
+ * and continues to be available under such terms.
+ * For more information, see the COPYING file which you should have received
+ * along with this program.
+ *
+ -->
 <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="select">
     <refnamediv>
         <refname>select</refname>
@@ -150,4 +164,16 @@ end
             </member>
         </simplelist>
     </refsection>
+    <refsection role="history">
+        <title>履歴</title>
+        <revhistory>
+            <revision>
+                <revnumber>6.0.0</revnumber>
+                <revdescription>
+                  <literal>select</literal> is now protected:
+                  Assignments like <literal>select=1</literal> are no longer possible.
+                </revdescription>
+            </revision>
+        </revhistory>
+    </refsection>
 </refentry>
index 4184603..04604a2 100644 (file)
@@ -1,4 +1,18 @@
 <?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2008 - INRIA
+ *
+ * Copyright (C) 2012 - 2016 - Scilab Enterprises
+ *
+ * This file is hereby licensed under the terms of the GNU GPL v2.0,
+ * pursuant to article 5.3.4 of the CeCILL v.2.1.
+ * This file was originally licensed under the terms of the CeCILL v2.1,
+ * and continues to be available under such terms.
+ * For more information, see the COPYING file which you should have received
+ * along with this program.
+ *
+ -->
 <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="then">
     <refnamediv>
         <refname>then</refname>
@@ -54,4 +68,16 @@ end
             </member>
         </simplelist>
     </refsection>
+    <refsection role="history">
+        <title>履歴</title>
+        <revhistory>
+            <revision>
+                <revnumber>6.0.0</revnumber>
+                <revdescription>
+                  <literal>then</literal> is now protected:
+                  Assignments like <literal>then=1</literal> are no longer possible.
+                </revdescription>
+            </revision>
+        </revhistory>
+    </refsection>
 </refentry>
index 62f1949..8b6cdb2 100644 (file)
@@ -1,4 +1,18 @@
 <?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2008 - INRIA
+ *
+ * Copyright (C) 2012 - 2016 - Scilab Enterprises
+ *
+ * This file is hereby licensed under the terms of the GNU GPL v2.0,
+ * pursuant to article 5.3.4 of the CeCILL v.2.1.
+ * This file was originally licensed under the terms of the CeCILL v2.1,
+ * and continues to be available under such terms.
+ * For more information, see the COPYING file which you should have received
+ * along with this program.
+ *
+ -->
 <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="try" xml:lang="ja">
     <refnamediv>
         <refname>try</refname>
@@ -132,4 +146,17 @@ nestedtry("a string","a string")
             </member>
         </simplelist>
     </refsection>
+    <refsection role="history">
+        <title>履歴</title>
+        <revhistory>
+            <revision>
+                <revnumber>6.0.0</revnumber>
+                <revdescription>
+                  <literal>try</literal> and <literal>catch</literal> are now protected:
+                  Assignments like <literal>try=1</literal> or <literal>catch=2</literal> are no
+                  longer possible.
+                </revdescription>
+            </revision>
+        </revhistory>
+    </refsection>
 </refentry>
index 7e71b43..2cd39b9 100644 (file)
@@ -1,4 +1,18 @@
 <?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2008 - INRIA
+ *
+ * Copyright (C) 2012 - 2016 - Scilab Enterprises
+ *
+ * This file is hereby licensed under the terms of the GNU GPL v2.0,
+ * pursuant to article 5.3.4 of the CeCILL v.2.1.
+ * This file was originally licensed under the terms of the CeCILL v2.1,
+ * and continues to be available under such terms.
+ * For more information, see the COPYING file which you should have received
+ * along with this program.
+ *
+ -->
 <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="while">
     <refnamediv>
         <refname>while</refname>
@@ -116,4 +130,23 @@ e,k
             </member>
         </simplelist>
     </refsection>
+    <refsection>
+        <title>履歴</title>
+        <revhistory>
+            <revision>
+                <revnumber>6.0.0</revnumber>
+                <revremark>
+                    <itemizedlist>
+                      <listitem>
+                        The <literal>[,else instructions]</literal> syntax is no longer supported.
+                      </listitem>
+                      <listitem>
+                        <literal>while</literal> is now protected:
+                        Assignments like <literal>while=1</literal> are no longer possible.
+                      </listitem>
+                  </itemizedlist>
+                </revremark>
+            </revision>
+        </revhistory>
+    </refsection>
 </refentry>
index ef72d0a..0750d52 100644 (file)
@@ -1,4 +1,18 @@
 <?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2008 - INRIA
+ *
+ * Copyright (C) 2012 - 2016 - Scilab Enterprises
+ *
+ * This file is hereby licensed under the terms of the GNU GPL v2.0,
+ * pursuant to article 5.3.4 of the CeCILL v.2.1.
+ * This file was originally licensed under the terms of the CeCILL v2.1,
+ * and continues to be available under such terms.
+ * For more information, see the COPYING file which you should have received
+ * along with this program.
+ *
+ -->
 <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"
@@ -93,6 +107,13 @@ isdef("a") | isdef("b") | isdef("c") // F
                 <revnumber>5.5.0</revnumber>
                 <revdescription>引数を文字列の行列とすることができるようになりました</revdescription>
             </revision>
+            <revision>
+                <revnumber>6.0.0</revnumber>
+                <revdescription>
+                  <literal>clear</literal> is now protected:
+                  Assignments like <literal>clear=1</literal> are no longer possible.
+                </revdescription>
+            </revision>
         </revhistory>
     </refsection>
 </refentry>
index 2fc7c53..41c599d 100644 (file)
@@ -1,16 +1,30 @@
 <?xml version="1.0" encoding="ISO-8859-1"?>
+<!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2008 - INRIA
+ *
+ * Copyright (C) 2012 - 2016 - Scilab Enterprises
+ *
+ * This file is hereby licensed under the terms of the GNU GPL v2.0,
+ * pursuant to article 5.3.4 of the CeCILL v.2.1.
+ * This file was originally licensed under the terms of the CeCILL v2.1,
+ * and continues to be available under such terms.
+ * For more information, see the COPYING file which you should have received
+ * along with this program.
+ *
+ -->
 <refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:ns4="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="break" xml:lang="pt">
     <refnamediv>
         <refname>break</refname>
-        <refpurpose>palavra-chave para interromper um laço ("loop") (significa
+        <refpurpose>palavra-chave para interromper um laço ("loop") (significa
             "interromper (neste ponto)")
         </refpurpose>
     </refnamediv>
     <refsection>
-        <title>Descrição</title>
+        <title>Descrição</title>
         <para>
-            Dentro de um laço <literal>for</literal> ou <literal>while</literal>
-            loop, o comando <literal>break</literal> força o fim do laço.
+            Dentro de um laço <literal>for</literal> ou <literal>while</literal>
+            loop, o comando <literal>break</literal> força o fim do laço.
         </para>
     </refsection>
     <refsection>
@@ -26,7 +40,7 @@ end
  ]]></programlisting>
     </refsection>
     <refsection>
-        <title> Ver Também</title>
+        <title> Ver Também</title>
         <simplelist type="inline">
             <member>
                 <link linkend="while">while</link>
@@ -45,4 +59,16 @@ end
             </member>
         </simplelist>
     </refsection>
+    <refsection role="history">
+        <title>Histórico</title>
+        <revhistory>
+            <revision>
+                <revnumber>6.0.0</revnumber>
+                <revdescription>
+                  <literal>break</literal> is now protected:
+                  Assignments like <literal>break=1</literal> are no longer possible.
+                </revdescription>
+            </revision>
+        </revhistory>
+    </refsection>
 </refentry>
index 7ea1aa8..d716845 100644 (file)
@@ -1,4 +1,18 @@
 <?xml version="1.0" encoding="ISO-8859-1"?>
+<!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2008 - INRIA
+ *
+ * Copyright (C) 2012 - 2016 - Scilab Enterprises
+ *
+ * This file is hereby licensed under the terms of the GNU GPL v2.0,
+ * pursuant to article 5.3.4 of the CeCILL v.2.1.
+ * This file was originally licensed under the terms of the CeCILL v2.1,
+ * and continues to be available under such terms.
+ * For more information, see the COPYING file which you should have received
+ * along with this program.
+ *
+ -->
 <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="case" xml:lang="pt">
     <refnamediv>
         <refname>case</refname>
@@ -7,7 +21,7 @@
         </refpurpose>
     </refnamediv>
     <refsection>
-        <title>Descrição</title>
+        <title>Descrição</title>
         <para>
             Palavra chave usada na estrutura <literal>select ...
                 case
         </para>
         <para>Use-a do seguinte modo:</para>
         <programlisting role=""><![CDATA[
-select expressão0,
-  case expressão1 then instruções1,
-  case expressão2 then instruções2,
+select expressão0,
+  case expressão1 then instruções1,
+  case expressão2 then instruções2,
   ...
-  case expressãon then instruçõesn,
-  [else instruções],
+  case expressãon then instruçõesn,
+  [else instruções],
 end
  ]]></programlisting>
     </refsection>
     <refsection role="see also">
-        <title>Ver Também</title>
+        <title>Ver Também</title>
         <simplelist type="inline">
             <member>
                 <link linkend="select">select</link>
@@ -41,4 +55,16 @@ end
             </member>
         </simplelist>
     </refsection>
+    <refsection role="history">
+        <title>Histórico</title>
+        <revhistory>
+            <revision>
+                <revnumber>6.0.0</revnumber>
+                <revdescription>
+                  <literal>case</literal> is now protected:
+                  Assignments like <literal>case=1</literal> are no longer possible.
+                </revdescription>
+            </revision>
+        </revhistory>
+    </refsection>
 </refentry>
index 79e6069..26e6fb0 100644 (file)
@@ -1,19 +1,33 @@
 <?xml version="1.0" encoding="ISO-8859-1"?>
+<!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2008 - INRIA - Serge STEER
+ *
+ * Copyright (C) 2012 - 2016 - Scilab Enterprises
+ *
+ * This file is hereby licensed under the terms of the GNU GPL v2.0,
+ * pursuant to article 5.3.4 of the CeCILL v.2.1.
+ * This file was originally licensed under the terms of the CeCILL v2.1,
+ * and continues to be available under such terms.
+ * For more information, see the COPYING file which you should have received
+ * along with this program.
+ *
+ -->
 <refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:ns4="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="continue" xml:lang="pt">
     <refnamediv>
         <refname>continue</refname>
-        <refpurpose>Palavra-chave para passar o controle para a próxima iteração
-            de um laço ("loop") (significa "continuar")
+        <refpurpose>Palavra-chave para passar o controle para a próxima iteração
+            de um laço ("loop") (significa "continuar")
         </refpurpose>
     </refnamediv>
     <refsection>
-        <title>Descrição</title>
+        <title>Descrição</title>
         <para>
-            Dentro de um laço <literal>for</literal> ou
+            Dentro de um laço <literal>for</literal> ou
             <literal>while</literal>, o comando <literal>continue</literal> passa o
-            contole para a próxima iteração do laço no qual aparece, pulando quaisquer
-            sentenças restantes entre esta instrução e a instrução
-            <literal>end</literal> do laço.
+            contole para a próxima iteração do laço no qual aparece, pulando quaisquer
+            sentenças restantes entre esta instrução e a instrução
+            <literal>end</literal> do laço.
         </para>
     </refsection>
     <refsection>
@@ -29,7 +43,7 @@ end
  ]]></programlisting>
     </refsection>
     <refsection>
-        <title> Ver Também</title>
+        <title> Ver Também</title>
         <simplelist type="inline">
             <member>
                 <link linkend="while">while</link>
@@ -45,8 +59,16 @@ end
             </member>
         </simplelist>
     </refsection>
-    <refsection>
-        <title>Autor </title>
-        <para>Serge Steer, INRIA</para>
+    <refsection role="history">
+        <title>Histórico</title>
+        <revhistory>
+            <revision>
+                <revnumber>6.0.0</revnumber>
+                <revdescription>
+                  <literal>continue</literal> is now protected:
+                  Assignments like <literal>continue=1</literal> is now impossible.
+                </revdescription>
+            </revision>
+        </revhistory>
     </refsection>
 </refentry>
index 6f22ec5..3465e10 100644 (file)
@@ -1,17 +1,31 @@
 <?xml version="1.0" encoding="ISO-8859-1"?>
+<!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2008 - INRIA
+ *
+ * Copyright (C) 2012 - 2016 - Scilab Enterprises
+ *
+ * This file is hereby licensed under the terms of the GNU GPL v2.0,
+ * pursuant to article 5.3.4 of the CeCILL v.2.1.
+ * This file was originally licensed under the terms of the CeCILL v2.1,
+ * and continues to be available under such terms.
+ * For more information, see the COPYING file which you should have received
+ * along with this program.
+ *
+ -->
 <refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:ns4="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="do" xml:lang="pt">
     <refnamediv>
         <refname>do</refname>
-        <refpurpose>palavra-chave de linguagem para laços ("loops") (significa
-            "faça...")
+        <refpurpose>palavra-chave de linguagem para laços ("loops") (significa
+            "faça...")
         </refpurpose>
     </refnamediv>
     <refsection>
-        <title>Descrição</title>
+        <title>Descrição</title>
         <para>
-            Pode ser usado dentro de instruções <literal>for</literal> ou
-            <literal>while</literal> para separar a definição de variável do laço e o
-            conjunto de instruções do mesmo.
+            Pode ser usado dentro de instruções <literal>for</literal> ou
+            <literal>while</literal> para separar a definição de variável do laço e o
+            conjunto de instruções do mesmo.
         </para>
     </refsection>
     <refsection>
@@ -35,7 +49,7 @@ end
     </refsection>
 
     <refsection>
-        <title> Ver Também </title>
+        <title> Ver Também </title>
         <simplelist type="inline">
             <member>
                 <link linkend="for">for</link>
@@ -45,4 +59,16 @@ end
             </member>
         </simplelist>
     </refsection>
+    <refsection role="history">
+        <title>Histórico</title>
+        <revhistory>
+            <revision>
+                <revnumber>6.0.0</revnumber>
+                <revdescription>
+                  <literal>do</literal> is now protected:
+                  Assignments like <literal>do=1</literal> are no longer possible.
+                </revdescription>
+            </revision>
+        </revhistory>
+    </refsection>
 </refentry>
index a262e4d..bb3fe83 100644 (file)
@@ -1,4 +1,18 @@
 <?xml version="1.0" encoding="ISO-8859-1"?>
+<!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2008 - INRIA
+ *
+ * Copyright (C) 2012 - 2016 - Scilab Enterprises
+ *
+ * This file is hereby licensed under the terms of the GNU GPL v2.0,
+ * pursuant to article 5.3.4 of the CeCILL v.2.1.
+ * This file was originally licensed under the terms of the CeCILL v2.1,
+ * and continues to be available under such terms.
+ * For more information, see the COPYING file which you should have received
+ * along with this program.
+ *
+ -->
 <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="else" xml:lang="pt">
     <refnamediv>
         <refname>else</refname>
@@ -41,4 +55,16 @@ end
             </member>
         </simplelist>
     </refsection>
+    <refsection role="history">
+        <title>Histórico</title>
+        <revhistory>
+            <revision>
+                <revnumber>6.0.0</revnumber>
+                <revdescription>
+                  <literal>else</literal> is now protected:
+                  Assignments like <literal>else=1</literal> are no longer possible.
+                </revdescription>
+            </revision>
+        </revhistory>
+    </refsection>
 </refentry>
index f319b9b..ec54cf5 100644 (file)
@@ -1,13 +1,27 @@
 <?xml version="1.0" encoding="ISO-8859-1"?>
+<!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2008 - INRIA
+ *
+ * Copyright (C) 2012 - 2016 - Scilab Enterprises
+ *
+ * This file is hereby licensed under the terms of the GNU GPL v2.0,
+ * pursuant to article 5.3.4 of the CeCILL v.2.1.
+ * This file was originally licensed under the terms of the CeCILL v2.1,
+ * and continues to be available under such terms.
+ * For more information, see the COPYING file which you should have received
+ * along with this program.
+ *
+ -->
 <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="elseif" xml:lang="pt">
     <refnamediv>
         <refname>elseif</refname>
         <refpurpose>palavra-chave usada na estrutura "if-then-else" (significa
-            "senão, se...")
+            "senão, se...")
         </refpurpose>
     </refnamediv>
     <refsection>
-        <title>Descrição</title>
+        <title>Descrição</title>
         <para>
             Ver <literal>if,then,else</literal> .
         </para>
@@ -25,4 +39,16 @@ else
 end
      ]]></programlisting>
     </refsection>
+    <refsection role="history">
+        <title>Histórico</title>
+        <revhistory>
+            <revision>
+                <revnumber>6.0.0</revnumber>
+                <revdescription>
+                  <literal>elseif</literal> is now protected:
+                  Assignments like <literal>elseif=1</literal> are no longer possible.
+                </revdescription>
+            </revision>
+        </revhistory>
+    </refsection>
 </refentry>
index 1f8e2c2..5b4df3b 100644 (file)
@@ -1,13 +1,27 @@
 <?xml version="1.0" encoding="ISO-8859-1"?>
+<!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2008 - INRIA
+ *
+ * Copyright (C) 2012 - 2016 - Scilab Enterprises
+ *
+ * This file is hereby licensed under the terms of the GNU GPL v2.0,
+ * pursuant to article 5.3.4 of the CeCILL v.2.1.
+ * This file was originally licensed under the terms of the CeCILL v2.1,
+ * and continues to be available under such terms.
+ * For more information, see the COPYING file which you should have received
+ * along with this program.
+ *
+ -->
 <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="end" xml:lang="pt">
     <refnamediv>
         <refname>end</refname>
         <refpurpose>Palavra-chave end (significa "fim")</refpurpose>
     </refnamediv>
     <refsection>
-        <title>Descrição</title>
+        <title>Descrição</title>
         <para>
-            Usado no fim de estruturas de laço ou condicionais. <literal>for,
+            Usado no fim de estruturas de laço ou condicionais. <literal>for,
                 while, if, select
             </literal>
             devem ser terminados por
@@ -15,7 +29,7 @@
         </para>
     </refsection>
     <refsection role="see also">
-        <title>Ver Também</title>
+        <title>Ver Também</title>
         <simplelist type="inline">
             <member>
                 <link linkend="for">for</link>
             </member>
         </simplelist>
     </refsection>
+    <refsection role="history">
+        <title>Histórico</title>
+        <revhistory>
+            <revision>
+                <revnumber>6.0.0</revnumber>
+                <revdescription>
+                  <literal>end</literal> is now protected:
+                  Assignments like <literal>end=1</literal> are no longer possible.
+                </revdescription>
+            </revision>
+        </revhistory>
+    </refsection>
 </refentry>
index 40db1a0..cf54044 100644 (file)
@@ -61,6 +61,8 @@
         <title>Exemplos</title>
         <para>Lacetes iterativos comum :</para>
         <programlisting role="example"><![CDATA[
+// laços "for" tradicionais
+>>>>>>> 58f750d5cbc... * Bug 12198 (+NRT): 'break case..while' & clear no longer overloadable as in end=1
 n=5;
 for i = 1:n
     for j = 1:n
@@ -97,6 +99,19 @@ for  c = M, c, end
  c  =
    3.
    4.
+=======
+for j= 4:-1:1
+    disp(j);
+end // laço decrescente
+
+//laço em colunas de matrizes
+for  e=eye(3,3), e, end
+for v=a, write(6,v), end
+for j=1:n, v=a(:,j), write(6,v), end
+
+//laço em listas de entradas
+for l=list(1,2,'example'); l, end
+>>>>>>> 58f750d5cbc... * Bug 12198 (+NRT): 'break case..while' & clear no longer overloadable as in end=1
 
  c  =
    5.
@@ -148,6 +163,8 @@ for l = list([1 2;3 4], (1+%z)^3, 'example', [%F %T]); l, end
                 <revnumber>6.0.0</revnumber>
                 <revdescription>
                     The for <literal>expression</literal> can now be a vector of graphic handles.
+                    <literal>for</literal> is now protected:
+                    Assignments like <literal>for=1</literal> are no longer possible.
                 </revdescription>
             </revision>
         </revhistory>
index f9dfb50..ae9a86e 100644 (file)
@@ -1,4 +1,18 @@
 <?xml version="1.0" encoding="ISO-8859-1"?>
+<!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2008 - INRIA
+ *
+ * Copyright (C) 2012 - 2016 - Scilab Enterprises
+ *
+ * This file is hereby licensed under the terms of the GNU GPL v2.0,
+ * pursuant to article 5.3.4 of the CeCILL v.2.1.
+ * This file was originally licensed under the terms of the CeCILL v2.1,
+ * and continues to be available under such terms.
+ * For more information, see the COPYING file which you should have received
+ * along with this program.
+ *
+ -->
 <refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"
         xmlns:svg="http://www.w3.org/2000/svg" xmlns:ns4="http://www.w3.org/1999/xhtml"
         xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook"
@@ -100,4 +114,16 @@ end
             </member>
         </simplelist>
     </refsection>
+    <refsection role="history">
+        <title>Histórico</title>
+        <revhistory>
+            <revision>
+                <revnumber>6.0.0</revnumber>
+                <revdescription>
+                  <literal>if</literal> is now protected:
+                  Assignments like <literal>if=1</literal> are no longer possible.
+                </revdescription>
+            </revision>
+        </revhistory>
+    </refsection>
 </refentry>
index 1e444fd..ca13c89 100644 (file)
@@ -1,19 +1,33 @@
 <?xml version="1.0" encoding="ISO-8859-1"?>
+<!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2008 - INRIA
+ *
+ * Copyright (C) 2012 - 2016 - Scilab Enterprises
+ *
+ * This file is hereby licensed under the terms of the GNU GPL v2.0,
+ * pursuant to article 5.3.4 of the CeCILL v.2.1.
+ * This file was originally licensed under the terms of the CeCILL v2.1,
+ * and continues to be available under such terms.
+ * For more information, see the COPYING file which you should have received
+ * along with this program.
+ *
+ -->
 <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="resume" xml:lang="pt">
     <refnamediv>
         <refname>resume</refname>
-        <refpurpose>retorna ou pára a execução de uma função e copia algumas de
-            suas variáveis locais
+        <refpurpose>retorna ou pára a execução de uma função e copia algumas de
+            suas variáveis locais
         </refpurpose>
     </refnamediv>
     <refsynopsisdiv>
-        <title>Seqüência de Chamamento</title>
+        <title>Seqüência de Chamamento</title>
         <synopsis>resume
             [x1,..,xn]=resume(a1,..,an)
         </synopsis>
     </refsynopsisdiv>
     <refsection>
-        <title>Parâmetros </title>
+        <title>Parâmetros </title>
         <variablelist>
             <varlistentry>
                 <term>x</term>
         </variablelist>
     </refsection>
     <refsection>
-        <title>Descrição</title>
+        <title>Descrição</title>
         <para>
-            Em uma função, <literal>resume</literal> pára a execução da mesma,
-            <literal>[..]=resume(..)</literal> pára a execução de uma função e põe as
-            variáveis locais <literal>ai</literal> no ambiente de chamamento sob os
+            Em uma função, <literal>resume</literal> pára a execução da mesma,
+            <literal>[..]=resume(..)</literal> pára a execução de uma função e põe as
+            variáveis locais <literal>ai</literal> no ambiente de chamamento sob os
             nomes de <literal>xi</literal>.
         </para>
         <para>
-            No modo <literal>pause</literal> , permite retornar a um nível
-            inferior <literal>[..]=resume(..)</literal> retorna ao nível inferior e
-            põe as variáveis locais <literal>ai</literal> no ambiente de chamamento
+            No modo <literal>pause</literal> , permite retornar a um nível
+            inferior <literal>[..]=resume(..)</literal> retorna ao nível inferior e
+            põe as variáveis locais <literal>ai</literal> no ambiente de chamamento
             sob os nomes de <literal>xi</literal>.
         </para>
         <para>
-            Em um<literal> execstr</literal> chamado por uma função,
-            <literal>[..]=resume(..)</literal> pára a execução da função e põe as
-            variáveis locais <literal>ai</literal> no ambiente de chamamento sob os
+            Em um<literal> execstr</literal> chamado por uma função,
+            <literal>[..]=resume(..)</literal> pára a execução da função e põe as
+            variáveis locais <literal>ai</literal> no ambiente de chamamento sob os
             nomes de <literal>xi</literal>.
         </para>
         <para>
-            <literal>resume</literal> é equivalente a
+            <literal>resume</literal> é equivalente a
             <literal>return</literal>.
         </para>
     </refsection>
     <refsection role="see also">
-        <title>Ver Também</title>
+        <title>Ver Também</title>
         <simplelist type="inline">
             <member>
                 <link linkend="abort">abort</link>
             </member>
         </simplelist>
     </refsection>
+    <refsection role="history">
+        <title>Histórico</title>
+        <revhistory>
+            <revision>
+                <revnumber>6.0.0</revnumber>
+                <revdescription>
+                  <literal>resume</literal> is now protected:
+                  Assignments like <literal>resume=1</literal> are no longer possible.
+                </revdescription>
+            </revision>
+        </revhistory>
+    </refsection>
 </refentry>
index 29a0746..396e784 100644 (file)
@@ -1,19 +1,33 @@
 <?xml version="1.0" encoding="ISO-8859-1"?>
+<!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2008 - INRIA
+ *
+ * Copyright (C) 2012 - 2016 - Scilab Enterprises
+ *
+ * This file is hereby licensed under the terms of the GNU GPL v2.0,
+ * pursuant to article 5.3.4 of the CeCILL v.2.1.
+ * This file was originally licensed under the terms of the CeCILL v2.1,
+ * and continues to be available under such terms.
+ * For more information, see the COPYING file which you should have received
+ * along with this program.
+ *
+ -->
 <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="return" xml:lang="pt">
     <refnamediv>
         <refname>return</refname>
-        <refpurpose>retorna ou pára a execução de uma função e copia algumas de
-            suas variáveis locais
+        <refpurpose>retorna ou pára a execução de uma função e copia algumas de
+            suas variáveis locais
         </refpurpose>
     </refnamediv>
     <refsynopsisdiv>
-        <title>Seqüência de Chamamento </title>
+        <title>Seqüência de Chamamento </title>
         <synopsis>return
             [x1,..,xn]=return(a1,..,an)
         </synopsis>
     </refsynopsisdiv>
     <refsection>
-        <title>Parâmetros</title>
+        <title>Parâmetros</title>
         <variablelist>
             <varlistentry>
                 <term>x</term>
         </variablelist>
     </refsection>
     <refsection>
-        <title>Descrição</title>
+        <title>Descrição</title>
         <para>
-            Em uma função, <literal>return</literal> pára a execução da mesma,
-            <literal>[..]=return(..)</literal> pára a execução de uma função e põe as
-            variáveis locais <literal>ai</literal> no ambiente de chamamento sob os
+            Em uma função, <literal>return</literal> pára a execução da mesma,
+            <literal>[..]=return(..)</literal> pára a execução de uma função e põe as
+            variáveis locais <literal>ai</literal> no ambiente de chamamento sob os
             nomes de <literal>xi</literal>.
         </para>
         <para>
-            No modo <literal>pause</literal> , permite retornar a um nível
-            inferior <literal>[..]=return(..)</literal> retorna ao nível inferior e
-            põe as variáveis locais <literal>ai</literal> no ambiente de chamamento
+            No modo <literal>pause</literal> , permite retornar a um nível
+            inferior <literal>[..]=return(..)</literal> retorna ao nível inferior e
+            põe as variáveis locais <literal>ai</literal> no ambiente de chamamento
             sob os nomes de <literal>xi</literal>.
         </para>
         <para>
-            Em um <literal>execstr</literal> chamado por uma função,
-            <literal>[..]=return(..)</literal> pára a execução da função e põe as
-            variáveis locais <literal>ai</literal> no ambiente de chamamento sob os
+            Em um <literal>execstr</literal> chamado por uma função,
+            <literal>[..]=return(..)</literal> pára a execução da função e põe as
+            variáveis locais <literal>ai</literal> no ambiente de chamamento sob os
             nomes de <literal>xi</literal>.
         </para>
         <para>
-            <literal>resume</literal> é equivalente a
+            <literal>resume</literal> é equivalente a
             <literal>return</literal>.
         </para>
     </refsection>
     <refsection role="see also">
-        <title>Ver Também</title>
+        <title>Ver Também</title>
         <simplelist type="inline">
             <member>
                 <link linkend="abort">abort</link>
             </member>
         </simplelist>
     </refsection>
+    <refsection role="history">
+        <title>Histórico</title>
+        <revhistory>
+            <revision>
+                <revnumber>6.0.0</revnumber>
+                <revdescription>
+                  <literal>return</literal> is now protected:
+                  Assignments like <literal>return=1</literal> are no longer possible.
+                </revdescription>
+            </revision>
+        </revhistory>
+    </refsection>
 </refentry>
index 2eeb8e3..da21bb3 100644 (file)
@@ -1,39 +1,53 @@
 <?xml version="1.0" encoding="ISO-8859-1"?>
+<!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2008 - INRIA
+ *
+ * Copyright (C) 2012 - 2016 - Scilab Enterprises
+ *
+ * This file is hereby licensed under the terms of the GNU GPL v2.0,
+ * pursuant to article 5.3.4 of the CeCILL v.2.1.
+ * This file was originally licensed under the terms of the CeCILL v2.1,
+ * and continues to be available under such terms.
+ * For more information, see the COPYING file which you should have received
+ * along with this program.
+ *
+ -->
 <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="select" xml:lang="pt">
     <refnamediv>
         <refname>select</refname>
         <refpurpose>Palavra-chave da estrutura select (significa "selecionar (de
-            acordo com a variável)")
+            acordo com a variável)")
         </refpurpose>
     </refnamediv>
     <refsection>
-        <title>Descrição</title>
+        <title>Descrição</title>
         <programlisting role=""><![CDATA[
-select expressão,
-  case expressão1 then instruções1,
-  case expressão2 then instruções2,
+select expressão,
+  case expressão1 then instruções1,
+  case expressão2 then instruções2,
   ...
-  case expressãon then instruçõesn,
-  [else instruções],
+  case expressãon then instruçõesn,
+  [else instruções],
 end
  ]]></programlisting>
         <para/>
         <para>Notas:</para>
         <itemizedlist>
             <listitem>
-                <para>A única restrição é de que a palavra-chave "then" deve estar na
+                <para>A única restrição é de que a palavra-chave "then" deve estar na
                     mesma linha que a palavra-chave "case" correspondente.
                 </para>
             </listitem>
             <listitem>
-                <para>A palavra-chave "then" pode ser substituída por uma vírgula ou
-                    um retorno de carro. <literal>instruçõesi</literal> são executadas se
-                    <literal>expressãoi=expressão</literal>.
+                <para>A palavra-chave "then" pode ser substituída por uma vírgula ou
+                    um retorno de carro. <literal>instruçõesi</literal> são executadas se
+                    <literal>expressãoi=expressão</literal>.
                 </para>
             </listitem>
         </itemizedlist>
-        <para>Aviso: o número de caracteres usados para definir o corpo de
-            qualquer instrução condicional (if while for ou select/case) deve ser
+        <para>Aviso: o número de caracteres usados para definir o corpo de
+            qualquer instrução condicional (if while for ou select/case) deve ser
             limitado a 16k.
         </para>
     </refsection>
@@ -54,7 +68,7 @@ end
  ]]></programlisting>
     </refsection>
     <refsection>
-        <title> Ver Também </title>
+        <title> Ver Também </title>
         <simplelist type="inline">
             <member>
                 <link linkend="if">if</link>
@@ -67,4 +81,16 @@ end
             </member>
         </simplelist>
     </refsection>
+    <refsection role="history">
+        <title>Histórico</title>
+        <revhistory>
+            <revision>
+                <revnumber>6.0.0</revnumber>
+                <revdescription>
+                  <literal>select</literal> is now protected:
+                  Assignments like <literal>select=1</literal> are no longer possible.
+                </revdescription>
+            </revision>
+        </revhistory>
+    </refsection>
 </refentry>
index b89c9bd..56d1481 100644 (file)
@@ -1,13 +1,27 @@
 <?xml version="1.0" encoding="ISO-8859-1"?>
+<!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2008 - INRIA
+ *
+ * Copyright (C) 2012 - 2016 - Scilab Enterprises
+ *
+ * This file is hereby licensed under the terms of the GNU GPL v2.0,
+ * pursuant to article 5.3.4 of the CeCILL v.2.1.
+ * This file was originally licensed under the terms of the CeCILL v2.1,
+ * and continues to be available under such terms.
+ * For more information, see the COPYING file which you should have received
+ * along with this program.
+ *
+ -->
 <refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:ns4="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="then" xml:lang="pt">
     <refnamediv>
         <refname>then</refname>
         <refpurpose>Palavra-chave usada na estrutura "if-then-else" (significa
-            "então...")
+            "então...")
         </refpurpose>
     </refnamediv>
     <refsection>
-        <title>Descrição</title>
+        <title>Descrição</title>
         <para>
             Usado com <literal>if</literal>.
         </para>
@@ -32,11 +46,23 @@ end
     </refsection>
 
     <refsection>
-        <title> Ver Também </title>
+        <title> Ver Também </title>
         <simplelist type="inline">
             <member>
                 <link linkend="if">if</link>
             </member>
         </simplelist>
     </refsection>
+    <refsection role="history">
+        <title>Histórico</title>
+        <revhistory>
+            <revision>
+                <revnumber>6.0.0</revnumber>
+                <revdescription>
+                  <literal>then</literal> is now protected:
+                  Assignments like <literal>then=1</literal> are no longer possible.
+                </revdescription>
+            </revision>
+        </revhistory>
+    </refsection>
 </refentry>
index 0fe4c47..9c47b5d 100644 (file)
@@ -1,19 +1,33 @@
 <?xml version="1.0" encoding="ISO-8859-1"?>
+<!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2008 - INRIA
+ *
+ * Copyright (C) 2012 - 2016 - Scilab Enterprises
+ *
+ * This file is hereby licensed under the terms of the GNU GPL v2.0,
+ * pursuant to article 5.3.4 of the CeCILL v.2.1.
+ * This file was originally licensed under the terms of the CeCILL v2.1,
+ * and continues to be available under such terms.
+ * For more information, see the COPYING file which you should have received
+ * along with this program.
+ *
+ -->
 <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="try" xml:lang="pt">
     <refnamediv>
         <refname>try</refname>
-        <refpurpose>início de um bloco try numa instrução de controle try-catch
+        <refpurpose>início de um bloco try numa instrução de controle try-catch
             (significa "tentar...")
         </refpurpose>
     </refnamediv>
     <refnamediv xml:id="catch">
         <refname>catch</refname>
-        <refpurpose>início de um bloco catch numa instrução de controle try-catch
+        <refpurpose>início de um bloco catch numa instrução de controle try-catch
             (significa "prender...")
         </refpurpose>
     </refnamediv>
     <refsynopsisdiv>
-        <title> Seqüência de Chamamento </title>
+        <title> Seqüência de Chamamento </title>
         <synopsis>try
             statements
             catch
         </synopsis>
     </refsynopsisdiv>
     <refsection>
-        <title> Descrição </title>
-        <para>A instrução de controle
+        <title> Descrição </title>
+        <para>A instrução de controle
             <literal>try</literal>-<literal>catch</literal>pode ser usada para
-            gerenciar códigos que possivelmente poderiam gerar erros.
+            gerenciar códigos que possivelmente poderiam gerar erros.
         </para>
-        <para>Quando uma instrução de controle
-            <literal>try</literal>-<literal>catch</literal> é executada, normalmente
-            apenas as sentenças entre as palavras-chaves <literal>try</literal> e
-            <literal>catch</literal>são executadas. Contudo, se um erro ocorre durante
-            a execução de uma dessas sentenças, o erro é registrado, as sentenças
-            restantes até <literal>catch</literal>são puladas e as sentenças entre as
-            palavras-chaves <literal>catch</literal> e <literal>end</literal> são
-            executadas usando-se o modo de manipulação de erros padrão.
+        <para>Quando uma instrução de controle
+            <literal>try</literal>-<literal>catch</literal> é executada, normalmente
+            apenas as sentenças entre as palavras-chaves <literal>try</literal> e
+            <literal>catch</literal>são executadas. Contudo, se um erro ocorre durante
+            a execução de uma dessas sentenças, o erro é registrado, as sentenças
+            restantes até <literal>catch</literal>são puladas e as sentenças entre as
+            palavras-chaves <literal>catch</literal> e <literal>end</literal> são
+            executadas usando-se o modo de manipulação de erros padrão.
         </para>
         <para>
-            A mensagem de erro registrada pode ser recuperada pela função <link linkend="lasterror">lasterror</link> .
+            A mensagem de erro registrada pode ser recuperada pela função <link linkend="lasterror">lasterror</link> .
         </para>
         <para>
-            As sentenças <literal>catch</literal> , tanto quanto a palavra-chave
-            <literal>catch</literal> podem ser omitidas se nenhuma sentença
+            As sentenças <literal>catch</literal> , tanto quanto a palavra-chave
+            <literal>catch</literal> podem ser omitidas se nenhuma sentença
             alternativa for fornecida.
         </para>
         <para>
-            Note que também é possível utilizar a função <link linkend="execstr">execstr</link> com o argumento<literal>
+            Note que também é possível utilizar a função <link linkend="execstr">execstr</link> com o argumento<literal>
                 'errcatch'
             </literal>
-            para manipulação de erros. Isto pode ser
-            particularmente útil para manipulação de erros sintáticos.
+            para manipulação de erros. Isto pode ser
+            particularmente útil para manipulação de erros sintáticos.
         </para>
     </refsection>
     <refsection>
@@ -61,15 +75,15 @@ try
   u=mopen(file_path,'r')
   x=mget(10,'c',u)
 catch
-  disp(['o arquivo '+file_path+ ' não pode ser lido',
-        'usando valores padrões para x'])
+  disp(['o arquivo '+file_path+ ' não pode ser lido',
+        'usando valores padrões para x'])
   x=1:10
 end
 [error_message,error_number]=lasterror(%t)
  ]]></programlisting>
     </refsection>
     <refsection>
-        <title> Ver Também </title>
+        <title> Ver Também </title>
         <simplelist type="inline">
             <member>
                 <link linkend="error">error</link>
@@ -85,4 +99,17 @@ end
             </member>
         </simplelist>
     </refsection>
+    <refsection role="history">
+        <title>Histórico</title>
+        <revhistory>
+            <revision>
+                <revnumber>6.0.0</revnumber>
+                <revdescription>
+                  <literal>try</literal> and <literal>catch</literal> are now protected:
+                  Assignments like <literal>try=1</literal> or <literal>catch=2</literal> are no
+                  longer possible.
+                </revdescription>
+            </revision>
+        </revhistory>
+    </refsection>
 </refentry>
index a87f487..31caf43 100644 (file)
@@ -1,4 +1,18 @@
 <?xml version="1.0" encoding="ISO-8859-1"?>
+<!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2008 - INRIA
+ *
+ * Copyright (C) 2012 - 2016 - Scilab Enterprises
+ *
+ * This file is hereby licensed under the terms of the GNU GPL v2.0,
+ * pursuant to article 5.3.4 of the CeCILL v.2.1.
+ * This file was originally licensed under the terms of the CeCILL v2.1,
+ * and continues to be available under such terms.
+ * For more information, see the COPYING file which you should have received
+ * along with this program.
+ *
+ -->
 <refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:ns4="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="while" xml:lang="pt">
     <refnamediv>
         <refname>while</refname>
@@ -86,4 +100,23 @@ e,k
             </member>
         </simplelist>
     </refsection>
+    <refsection>
+        <title>Histórico</title>
+        <revhistory>
+            <revision>
+                <revnumber>6.0.0</revnumber>
+                <revremark>
+                    <itemizedlist>
+                      <listitem>
+                        The <literal>[,else instructions]</literal> syntax is no longer supported.
+                      </listitem>
+                      <listitem>
+                        <literal>while</literal> is now protected:
+                        Assignments like <literal>while=1</literal> are no longer possible.
+                      </listitem>
+                  </itemizedlist>
+                </revremark>
+            </revision>
+        </revhistory>
+    </refsection>
 </refentry>
index 5e28b9b..bf862ba 100644 (file)
@@ -1,4 +1,18 @@
 <?xml version="1.0" encoding="ISO-8859-1"?>
+<!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2008 - INRIA
+ *
+ * Copyright (C) 2012 - 2016 - Scilab Enterprises
+ *
+ * This file is hereby licensed under the terms of the GNU GPL v2.0,
+ * pursuant to article 5.3.4 of the CeCILL v.2.1.
+ * This file was originally licensed under the terms of the CeCILL v2.1,
+ * and continues to be available under such terms.
+ * For more information, see the COPYING file which you should have received
+ * along with this program.
+ *
+ -->
 <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"
             </member>
         </simplelist>
     </refsection>
+    <refsection role="history">
+        <title>Histórico</title>
+        <revhistory>
+            <revision>
+                <revnumber>5.5.0</revnumber>
+                <revdescription>Argument can now be a matrix of strings</revdescription>
+            </revision>
+            <revision>
+                <revnumber>6.0.0</revnumber>
+                <revdescription>
+                  <literal>clear</literal> is now protected:
+                  Assignments like <literal>clear=1</literal> are no longer possible.
+                </revdescription>
+            </revision>
+        </revhistory>
+    </refsection>
 </refentry>
index 7cd14f7..8e9253d 100644 (file)
@@ -1,4 +1,18 @@
 <?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2008 - INRIA
+ *
+ * Copyright (C) 2012 - 2016 - Scilab Enterprises
+ *
+ * This file is hereby licensed under the terms of the GNU GPL v2.0,
+ * pursuant to article 5.3.4 of the CeCILL v.2.1.
+ * This file was originally licensed under the terms of the CeCILL v2.1,
+ * and continues to be available under such terms.
+ * For more information, see the COPYING file which you should have received
+ * along with this program.
+ *
+ -->
 <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="ru" xml:id="break">
     <refnamediv>
         <refname>break</refname>
@@ -42,4 +56,16 @@ end
             </member>
         </simplelist>
     </refsection>
+    <refsection role="history">
+        <title>История</title>
+        <revhistory>
+            <revision>
+                <revnumber>6.0.0</revnumber>
+                <revdescription>
+                  <literal>break</literal> is now protected:
+                  Assignments like <literal>break=1</literal> are no longer possible.
+                </revdescription>
+            </revision>
+        </revhistory>
+    </refsection>
 </refentry>
index ebfe863..afa6739 100644 (file)
@@ -1,4 +1,18 @@
 <?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2008 - INRIA
+ *
+ * Copyright (C) 2012 - 2016 - Scilab Enterprises
+ *
+ * This file is hereby licensed under the terms of the GNU GPL v2.0,
+ * pursuant to article 5.3.4 of the CeCILL v.2.1.
+ * This file was originally licensed under the terms of the CeCILL v2.1,
+ * and continues to be available under such terms.
+ * For more information, see the COPYING file which you should have received
+ * along with this program.
+ *
+ -->
 <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="ru" xml:id="case">
     <refnamediv>
         <refname>case</refname>
@@ -62,4 +76,16 @@ end
             </member>
         </simplelist>
     </refsection>
+    <refsection role="history">
+        <title>История</title>
+        <revhistory>
+            <revision>
+                <revnumber>6.0.0</revnumber>
+                <revdescription>
+                  <literal>case</literal> is now protected:
+                  Assignments like <literal>case=1</literal> are no longer possible.
+                </revdescription>
+            </revision>
+        </revhistory>
+    </refsection>
 </refentry>
index c7d785e..deb6b07 100644 (file)
@@ -1,4 +1,18 @@
 <?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2008 - INRIA - Serge STEER
+ *
+ * Copyright (C) 2012 - 2016 - Scilab Enterprises
+ *
+ * This file is hereby licensed under the terms of the GNU GPL v2.0,
+ * pursuant to article 5.3.4 of the CeCILL v.2.1.
+ * This file was originally licensed under the terms of the CeCILL v2.1,
+ * and continues to be available under such terms.
+ * For more information, see the COPYING file which you should have received
+ * along with this program.
+ *
+ -->
 <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="ru" xml:id="continue">
     <refnamediv>
         <refname>continue</refname>
@@ -52,4 +66,16 @@ end
             </member>
         </simplelist>
     </refsection>
+    <refsection role="history">
+        <title>История</title>
+        <revhistory>
+            <revision>
+                <revnumber>6.0.0</revnumber>
+                <revdescription>
+                  <literal>continue</literal> is now protected:
+                  Assignments like <literal>continue=1</literal> is now impossible.
+                </revdescription>
+            </revision>
+        </revhistory>
+    </refsection>
 </refentry>
index 759acec..f8586df 100644 (file)
@@ -1,4 +1,18 @@
 <?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2008 - INRIA
+ *
+ * Copyright (C) 2012 - 2016 - Scilab Enterprises
+ *
+ * This file is hereby licensed under the terms of the GNU GPL v2.0,
+ * pursuant to article 5.3.4 of the CeCILL v.2.1.
+ * This file was originally licensed under the terms of the CeCILL v2.1,
+ * and continues to be available under such terms.
+ * For more information, see the COPYING file which you should have received
+ * along with this program.
+ *
+ -->
 <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="ru" xml:id="do">
     <refnamediv>
         <refname>do</refname>
@@ -43,4 +57,16 @@ end
             </member>
         </simplelist>
     </refsection>
+    <refsection role="history">
+        <title>История</title>
+        <revhistory>
+            <revision>
+                <revnumber>6.0.0</revnumber>
+                <revdescription>
+                  <literal>do</literal> is now protected:
+                  Assignments like <literal>do=1</literal> are no longer possible.
+                </revdescription>
+            </revision>
+        </revhistory>
+    </refsection>
 </refentry>
index 9c10302..674b079 100644 (file)
@@ -1,4 +1,18 @@
 <?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2008 - INRIA
+ *
+ * Copyright (C) 2012 - 2016 - Scilab Enterprises
+ *
+ * This file is hereby licensed under the terms of the GNU GPL v2.0,
+ * pursuant to article 5.3.4 of the CeCILL v.2.1.
+ * This file was originally licensed under the terms of the CeCILL v2.1,
+ * and continues to be available under such terms.
+ * For more information, see the COPYING file which you should have received
+ * along with this program.
+ *
+ -->
 <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="ru" xml:id="else">
     <refnamediv>
         <refname>else</refname>
@@ -51,4 +65,16 @@ end
             </member>
         </simplelist>
     </refsection>
+    <refsection role="history">
+        <title>История</title>
+        <revhistory>
+            <revision>
+                <revnumber>6.0.0</revnumber>
+                <revdescription>
+                  <literal>else</literal> is now protected:
+                  Assignments like <literal>else=1</literal> are no longer possible.
+                </revdescription>
+            </revision>
+        </revhistory>
+    </refsection>
 </refentry>
index 4aaf0c1..fe1b002 100644 (file)
@@ -1,4 +1,18 @@
 <?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2008 - INRIA
+ *
+ * Copyright (C) 2012 - 2016 - Scilab Enterprises
+ *
+ * This file is hereby licensed under the terms of the GNU GPL v2.0,
+ * pursuant to article 5.3.4 of the CeCILL v.2.1.
+ * This file was originally licensed under the terms of the CeCILL v2.1,
+ * and continues to be available under such terms.
+ * For more information, see the COPYING file which you should have received
+ * along with this program.
+ *
+ -->
 <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="ru" xml:id="elseif">
     <refnamediv>
         <refname>elseif</refname>
@@ -36,4 +50,16 @@ end
             </member>
         </simplelist>
     </refsection>
+    <refsection role="history">
+        <title>История</title>
+        <revhistory>
+            <revision>
+                <revnumber>6.0.0</revnumber>
+                <revdescription>
+                  <literal>elseif</literal> is now protected:
+                  Assignments like <literal>elseif=1</literal> are no longer possible.
+                </revdescription>
+            </revision>
+        </revhistory>
+    </refsection>
 </refentry>
index 5bfa15b..04f7935 100644 (file)
@@ -1,4 +1,18 @@
 <?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2008 - INRIA
+ *
+ * Copyright (C) 2012 - 2016 - Scilab Enterprises
+ *
+ * This file is hereby licensed under the terms of the GNU GPL v2.0,
+ * pursuant to article 5.3.4 of the CeCILL v.2.1.
+ * This file was originally licensed under the terms of the CeCILL v2.1,
+ * and continues to be available under such terms.
+ * For more information, see the COPYING file which you should have received
+ * along with this program.
+ *
+ -->
 <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="ru" xml:id="end">
     <refnamediv>
         <refname>end</refname>
@@ -52,4 +66,16 @@ end
             </member>
         </simplelist>
     </refsection>
+    <refsection role="history">
+        <title>История</title>
+        <revhistory>
+            <revision>
+                <revnumber>6.0.0</revnumber>
+                <revdescription>
+                  <literal>end</literal> is now protected:
+                  Assignments like <literal>end=1</literal> are no longer possible.
+                </revdescription>
+            </revision>
+        </revhistory>
+    </refsection>
 </refentry>
index 12e7f89..95b1737 100644 (file)
@@ -233,6 +233,8 @@ for l = list([1 2;3 4], (1+%z)^3, 'example', [%F %T]); l, end
                 <revnumber>6.0.0</revnumber>
                 <revdescription>
                     Теперь for <literal>expression</literal> может быть вектором указателей на графические окна.
+                    <literal>for</literal> is now protected:
+                    Assignments like <literal>for=1</literal> are no longer possible.
                 </revdescription>
             </revision>
         </revhistory>
index adfd0e1..a8abcee 100644 (file)
@@ -1,4 +1,18 @@
 <?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2008 - INRIA
+ *
+ * Copyright (C) 2012 - 2016 - Scilab Enterprises
+ *
+ * This file is hereby licensed under the terms of the GNU GPL v2.0,
+ * pursuant to article 5.3.4 of the CeCILL v.2.1.
+ * This file was originally licensed under the terms of the CeCILL v2.1,
+ * and continues to be available under such terms.
+ * For more information, see the COPYING file which you should have received
+ * along with this program.
+ *
+ -->
 <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"
@@ -155,4 +169,16 @@ end
             </member>
         </simplelist>
     </refsection>
+    <refsection role="history">
+        <title>История</title>
+        <revhistory>
+            <revision>
+                <revnumber>6.0.0</revnumber>
+                <revdescription>
+                  <literal>if</literal> is now protected:
+                  Assignments like <literal>if=1</literal> are no longer possible.
+                </revdescription>
+            </revision>
+        </revhistory>
+    </refsection>
 </refentry>
index 41a3d87..a7b8bc1 100644 (file)
@@ -1,4 +1,18 @@
 <?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2008 - INRIA
+ *
+ * Copyright (C) 2012 - 2016 - Scilab Enterprises
+ *
+ * This file is hereby licensed under the terms of the GNU GPL v2.0,
+ * pursuant to article 5.3.4 of the CeCILL v.2.1.
+ * This file was originally licensed under the terms of the CeCILL v2.1,
+ * and continues to be available under such terms.
+ * For more information, see the COPYING file which you should have received
+ * along with this program.
+ *
+ -->
 <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="ru" xml:id="resume">
     <refnamediv>
         <refname>resume</refname>
@@ -117,4 +131,16 @@ foo2()
             </member>
         </simplelist>
     </refsection>
+    <refsection role="history">
+        <title>История</title>
+        <revhistory>
+            <revision>
+                <revnumber>6.0.0</revnumber>
+                <revdescription>
+                  <literal>resume</literal> is now protected:
+                  Assignments like <literal>resume=1</literal> are no longer possible.
+                </revdescription>
+            </revision>
+        </revhistory>
+    </refsection>
 </refentry>
index e617b3d..ea557aa 100644 (file)
@@ -1,4 +1,18 @@
 <?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2008 - INRIA
+ *
+ * Copyright (C) 2012 - 2016 - Scilab Enterprises
+ *
+ * This file is hereby licensed under the terms of the GNU GPL v2.0,
+ * pursuant to article 5.3.4 of the CeCILL v.2.1.
+ * This file was originally licensed under the terms of the CeCILL v2.1,
+ * and continues to be available under such terms.
+ * For more information, see the COPYING file which you should have received
+ * along with this program.
+ *
+ -->
 <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="ru" xml:id="return">
     <refnamediv>
         <refname>return</refname>
@@ -94,4 +108,16 @@ assert_checkequal(b,43)
             </member>
         </simplelist>
     </refsection>
+    <refsection role="history">
+        <title>История</title>
+        <revhistory>
+            <revision>
+                <revnumber>6.0.0</revnumber>
+                <revdescription>
+                  <literal>return</literal> is now protected:
+                  Assignments like <literal>return=1</literal> are no longer possible.
+                </revdescription>
+            </revision>
+        </revhistory>
+    </refsection>
 </refentry>
index 4bc5be4..e3bbc7d 100644 (file)
@@ -1,4 +1,18 @@
 <?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2008 - INRIA
+ *
+ * Copyright (C) 2012 - 2016 - Scilab Enterprises
+ *
+ * This file is hereby licensed under the terms of the GNU GPL v2.0,
+ * pursuant to article 5.3.4 of the CeCILL v.2.1.
+ * This file was originally licensed under the terms of the CeCILL v2.1,
+ * and continues to be available under such terms.
+ * For more information, see the COPYING file which you should have received
+ * along with this program.
+ *
+ -->
 <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="ru" xml:id="select">
     <refnamediv>
         <refname>select</refname>
@@ -149,4 +163,16 @@ end
             </member>
         </simplelist>
     </refsection>
+    <refsection role="history">
+        <title>История</title>
+        <revhistory>
+            <revision>
+                <revnumber>6.0.0</revnumber>
+                <revdescription>
+                  <literal>select</literal> is now protected:
+                  Assignments like <literal>select=1</literal> are no longer possible.
+                </revdescription>
+            </revision>
+        </revhistory>
+    </refsection>
 </refentry>
index cab60be..911a481 100644 (file)
@@ -1,4 +1,18 @@
 <?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2008 - INRIA
+ *
+ * Copyright (C) 2012 - 2016 - Scilab Enterprises
+ *
+ * This file is hereby licensed under the terms of the GNU GPL v2.0,
+ * pursuant to article 5.3.4 of the CeCILL v.2.1.
+ * This file was originally licensed under the terms of the CeCILL v2.1,
+ * and continues to be available under such terms.
+ * For more information, see the COPYING file which you should have received
+ * along with this program.
+ *
+ -->
 <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="ru" xml:id="then">
     <refnamediv>
         <refname>then</refname>
@@ -52,4 +66,16 @@ end
             </member>
         </simplelist>
     </refsection>
+    <refsection role="history">
+        <title>История</title>
+        <revhistory>
+            <revision>
+                <revnumber>6.0.0</revnumber>
+                <revdescription>
+                  <literal>then</literal> is now protected:
+                  Assignments like <literal>then=1</literal> are no longer possible.
+                </revdescription>
+            </revision>
+        </revhistory>
+    </refsection>
 </refentry>
index 58121ca..48d6766 100644 (file)
@@ -1,4 +1,18 @@
 <?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2008 - INRIA
+ *
+ * Copyright (C) 2012 - 2016 - Scilab Enterprises
+ *
+ * This file is hereby licensed under the terms of the GNU GPL v2.0,
+ * pursuant to article 5.3.4 of the CeCILL v.2.1.
+ * This file was originally licensed under the terms of the CeCILL v2.1,
+ * and continues to be available under such terms.
+ * For more information, see the COPYING file which you should have received
+ * along with this program.
+ *
+ -->
 <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="try" xml:lang="ru">
     <refnamediv>
         <refname>try</refname>
@@ -124,4 +138,17 @@ nestedtry("строка","строка")
             </member>
         </simplelist>
     </refsection>
+    <refsection role="history">
+        <title>История</title>
+        <revhistory>
+            <revision>
+                <revnumber>6.0.0</revnumber>
+                <revdescription>
+                  <literal>try</literal> and <literal>catch</literal> are now protected:
+                  Assignments like <literal>try=1</literal> or <literal>catch=2</literal> are no
+                  longer possible.
+                </revdescription>
+            </revision>
+        </revhistory>
+    </refsection>
 </refentry>
index 10a4440..90f4936 100644 (file)
@@ -1,4 +1,18 @@
 <?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2008 - INRIA
+ *
+ * Copyright (C) 2012 - 2016 - Scilab Enterprises
+ *
+ * This file is hereby licensed under the terms of the GNU GPL v2.0,
+ * pursuant to article 5.3.4 of the CeCILL v.2.1.
+ * This file was originally licensed under the terms of the CeCILL v2.1,
+ * and continues to be available under such terms.
+ * For more information, see the COPYING file which you should have received
+ * along with this program.
+ *
+ -->
 <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"
@@ -122,4 +136,23 @@ e,k
             </member>
         </simplelist>
     </refsection>
+    <refsection>
+        <title>История</title>
+        <revhistory>
+            <revision>
+                <revnumber>6.0.0</revnumber>
+                <revremark>
+                    <itemizedlist>
+                      <listitem>
+                        The <literal>[,else instructions]</literal> syntax is no longer supported.
+                      </listitem>
+                      <listitem>
+                        <literal>while</literal> is now protected:
+                        Assignments like <literal>while=1</literal> are no longer possible.
+                      </listitem>
+                  </itemizedlist>
+                </revremark>
+            </revision>
+        </revhistory>
+    </refsection>
 </refentry>
index ff55eb9..ba568dc 100644 (file)
@@ -1,4 +1,18 @@
 <?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2008 - INRIA
+ *
+ * Copyright (C) 2012 - 2016 - Scilab Enterprises
+ *
+ * This file is hereby licensed under the terms of the GNU GPL v2.0,
+ * pursuant to article 5.3.4 of the CeCILL v.2.1.
+ * This file was originally licensed under the terms of the CeCILL v2.1,
+ * and continues to be available under such terms.
+ * For more information, see the COPYING file which you should have received
+ * along with this program.
+ *
+ -->
 <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"
@@ -77,4 +91,20 @@ isdef("b") // F
             </member>
         </simplelist>
     </refsection>
+    <refsection role="history">
+        <title>История</title>
+        <revhistory>
+            <revision>
+                <revnumber>5.5.0</revnumber>
+                <revdescription>Argument can now be a matrix of strings</revdescription>
+            </revision>
+            <revision>
+                <revnumber>6.0.0</revnumber>
+                <revdescription>
+                  <literal>clear</literal> is now protected:
+                  Assignments like <literal>clear=1</literal> are no longer possible.
+                </revdescription>
+            </revision>
+        </revhistory>
+    </refsection>
 </refentry>
index f75f457..cae8dbb 100644 (file)
@@ -140,4 +140,17 @@ exec SCI/modules/elementary_functions/macros/asinh.sci;
             </member>
         </simplelist>
     </refsection>
+    <refsection role="history">
+        <title>History</title>
+        <revhistory>
+            <revision>
+                <revnumber>6.0.0</revnumber>
+                <revdescription>
+                  <literal>function</literal> and <literal>endfunction</literal> are now protected:
+                  Assignments like <literal>function=1</literal> or <literal>endfunction=2</literal>
+                  are no longer possible.
+                </revdescription>
+            </revision>
+        </revhistory>
+    </refsection>
 </refentry>
index 170d0ff..87a9fdc 100644 (file)
@@ -135,4 +135,17 @@ exec SCI/modules/elementary_functions/macros/asinh.sci;
             </member>
         </simplelist>
     </refsection>
+    <refsection role="history">
+        <title>Historique</title>
+        <revhistory>
+            <revision>
+                <revnumber>6.0.0</revnumber>
+                <revdescription>
+                  <literal>function</literal> et <literal>endfunction</literal> sont désormais protégés.
+                  Les affectations telles que <literal>function=1</literal> ou
+                  <literal>endfunction=2</literal> ne sont plus possibles.
+                </revdescription>
+            </revision>
+        </revhistory>
+    </refsection>
 </refentry>
index 492e622..f01a055 100644 (file)
@@ -14,7 +14,6 @@
  * along with this program.
  *
  -->
-
 <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="function">
 
     <refnamediv>
@@ -275,6 +274,19 @@ exec SCI/modules/elementary_functions/macros/asinh.sci;
         </simplelist>
 
     </refsection>
+    <refsection role="history">
+        <title>履歴</title>
+        <revhistory>
+            <revision>
+                <revnumber>6.0.0</revnumber>
+                <revdescription>
+                  <literal>function</literal> and <literal>endfunction</literal> are now protected:
+                  Assignments like <literal>function=1</literal> or <literal>endfunction=2</literal>
+                  are no longer possible.
+                </revdescription>
+            </revision>
+        </revhistory>
+    </refsection>
 
 </refentry>
 
index 5d9c8a4..e947584 100644 (file)
 <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="function" xml:lang="pt">
     <refnamediv>
         <refname>function</refname>
-        <refpurpose>abre definição de função</refpurpose>
+        <refpurpose>abre definição de função</refpurpose>
     </refnamediv>
     <refnamediv xml:id="endfunction">
         <refname>endfunction</refname>
-        <refpurpose>encerra definição de função</refpurpose>
+        <refpurpose>encerra definição de função</refpurpose>
     </refnamediv>
     <refsection>
-        <title>Descrição</title>
+        <title>Descrição</title>
         <programlisting  role='no-scilab-exec'><![CDATA[
 function <lhs_arguments>=<function_name><rhs_arguments>
 <statements>
@@ -34,24 +34,24 @@ endfunction
             <varlistentry>
                 <term>&lt;function_name&gt;</term>
                 <listitem>
-                    <para>é o nome da função</para>
+                    <para>é o nome da função</para>
                 </listitem>
             </varlistentry>
             <varlistentry>
                 <term>&lt;rhs_arguments&gt;</term>
                 <listitem>
-                    <para>é a lista de argumentos de entrada. Pode ser:</para>
+                    <para>é a lista de argumentos de entrada. Pode ser:</para>
                     <itemizedlist>
                         <listitem>
-                            <para>uma seqüência separada por vírgula de nomes de variáveis
-                                encerrada por parênteses, como <literal>(x1,...,xm)</literal>. O
-                                último nome de variável pode ser a palavra-chave
+                            <para>uma seqüência separada por vírgula de nomes de variáveis
+                                encerrada por parênteses, como <literal>(x1,...,xm)</literal>. O
+                                último nome de variável pode ser a palavra-chave
                                 <literal>varargin</literal> (ver <link linkend="varargin">varargin</link>)
                             </para>
                         </listitem>
                         <listitem>
                             <para>
-                                a seqüência <literal>()</literal> ou nada, se a função não
+                                a seqüência <literal>()</literal> ou nada, se a função não
                                 possui argumentos de entrada.
                             </para>
                         </listitem>
@@ -61,19 +61,19 @@ endfunction
             <varlistentry>
                 <term>&lt;lhs_arguments&gt;</term>
                 <listitem>
-                    <para>é a lista de argumentos de saída. Pode ser:</para>
+                    <para>é a lista de argumentos de saída. Pode ser:</para>
                     <itemizedlist>
                         <listitem>
-                            <para>uma seqüência separada por vírgula de nomes de variáveis
+                            <para>uma seqüência separada por vírgula de nomes de variáveis
                                 encerrada por colchetes, como <literal>[y1,...,yn]</literal>. O
-                                último nome de variável pode ser a palavra-chave
+                                último nome de variável pode ser a palavra-chave
                                 <literal>varargout</literal> (ver <link linkend="varargout">varargout</link>)
                             </para>
                         </listitem>
                         <listitem>
                             <para>
-                                a seqüência <literal>[]</literal>, se a função não possui
-                                argumentos de saída. neste caso, a sintaxe também, pode ser:
+                                a seqüência <literal>[]</literal>, se a função não possui
+                                argumentos de saída. neste caso, a sintaxe também, pode ser:
                                 <literal>function
                                     &lt;function_name&gt;&lt;rhs_arguments&gt;
                                 </literal>
@@ -85,33 +85,33 @@ endfunction
             <varlistentry>
                 <term>&lt;statements&gt;</term>
                 <listitem>
-                    <para>conjunto de instruções Scilab (declarações). Esta sintaxe pode
-                        ser usada para definir funções (ver <link linkend="functions">functions</link>) inline ou em arquivo
-                        script (ver <link linkend="exec">exec</link>). Para compatibilidade com versões Scilab antigas,
-                        as funções podem ser definidas em um arquivo script contendo apenas
-                        definições de funções podem ser "carregadas" no Scilab através da
-                        função <function>exec</function>.
+                    <para>conjunto de instruções Scilab (declarações). Esta sintaxe pode
+                        ser usada para definir funções (ver <link linkend="functions">functions</link>) inline ou em arquivo
+                        script (ver <link linkend="exec">exec</link>). Para compatibilidade com versões Scilab antigas,
+                        as funções podem ser definidas em um arquivo script contendo apenas
+                        definições de funções podem ser "carregadas" no Scilab através da
+                        função <function>exec</function>.
                     </para>
                 </listitem>
             </varlistentry>
         </variablelist>
         <para>
-            A seqüência <literal>function
+            A seqüência <literal>function
                 &lt;lhs_arguments&gt;=&lt;function_name&gt;&lt;rhs_arguments&gt;
             </literal>
-            não pode ser separada em várias linhas. Esta seqüência pode ser seguida
-            por declarações na mesma linha, se uma vírgula ou ponto-e-vírgula for
+            não pode ser separada em várias linhas. Esta seqüência pode ser seguida
+            por declarações na mesma linha, se uma vírgula ou ponto-e-vírgula for
             adicionado ao seu fim.
         </para>
         <note>
             Note that <literal>&lt;function_name&gt;</literal> must respect some syntax rules (see <link linkend="names">names</link>).
         </note>
-        <para>Definições de funções podem ser aninhadas.</para>
+        <para>Definições de funções podem ser aninhadas.</para>
     </refsection>
     <refsection>
         <title>Exemplos</title>
         <programlisting role="example"><![CDATA[
-//definição inline
+//definição inline
 function [x,y]=myfct(a,b)
 x=a+b
 y=a-b
@@ -119,12 +119,12 @@ endfunction
 
 [x,y]=myfct(3,2)
 
-//uma definição de função de uma linha
+//uma definição de função de uma linha
 function y=sq(x),y=x^2,endfunction
 
 sq(3)
 
-//definição de função aninhada
+//definição de função aninhada
 function y=foo(x)
 a=sin(x)
 function y=sq(x), y=x^2,endfunction
@@ -133,12 +133,12 @@ endfunction
 
 foo(%pi/3)
 
-// definição em um arquivo script (ver exec)
+// definição em um arquivo script (ver exec)
 exec SCI/modules/elementary_functions/macros/asinh.sci;
  ]]></programlisting>
     </refsection>
     <refsection role="see also">
-        <title>Ver Também</title>
+        <title>Ver Também</title>
         <simplelist type="inline">
             <member>
                 <link linkend="functions">functions</link>
@@ -151,4 +151,17 @@ exec SCI/modules/elementary_functions/macros/asinh.sci;
             </member>
         </simplelist>
     </refsection>
+    <refsection role="history">
+        <title>Histórico</title>
+        <revhistory>
+            <revision>
+                <revnumber>6.0.0</revnumber>
+                <revdescription>
+                  <literal>function</literal> and <literal>endfunction</literal> are now protected:
+                  Assignments like <literal>function=1</literal> or <literal>endfunction=2</literal>
+                  are no longer possible.
+                </revdescription>
+            </revision>
+        </revhistory>
+    </refsection>
 </refentry>
index 8558301..a40cf9c 100644 (file)
@@ -162,4 +162,17 @@ exec SCI/modules/elementary_functions/macros/asinh.sci;
             </member>
         </simplelist>
     </refsection>
+    <refsection role="history">
+        <title>История</title>
+        <revhistory>
+            <revision>
+                <revnumber>6.0.0</revnumber>
+                <revdescription>
+                  <literal>function</literal> and <literal>endfunction</literal> are now protected:
+                  Assignments like <literal>function=1</literal> or <literal>endfunction=2</literal>
+                  are no longer possible.
+                </revdescription>
+            </revision>
+        </revhistory>
+    </refsection>
 </refentry>