<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">Le 28/11/2019 à 09:06, Antoine
      Monmayrant a écrit :<br>
    </div>
    <blockquote type="cite"
      cite="mid:3470-5ddf8000-6b-40f5a280@78587156">
      <pre class="moz-quote-pre" wrap="">Hello Frederico, 
 
 
Le Mercredi, Novembre 27, 2019 22:51 CET, Federico Miyara <a class="moz-txt-link-rfc2396E" href="mailto:fmiyara@fceia.unr.edu.ar"><fmiyara@fceia.unr.edu.ar></a> a écrit: 
 
</pre>
      <blockquote type="cite">
        <pre class="moz-quote-pre" wrap="">
Dear all,

What is the reason why %pi, %e, %i, %f, %t are considered variables (see 
help percent) when they are really constants?
</pre>
      </blockquote>
      <pre class="moz-quote-pre" wrap="">
Maybe because the actual variables, if they are scalar, are called constants ( see  "a=1;typeof(a)" for example )!
Confusing, he? :-).

</pre>
      <blockquote type="cite">
        <pre class="moz-quote-pre" wrap="">
If %pi were a variable with the only detail that it has a preassigned 
value (while a bit dangerous, it could have been a possibility), then 
this would be possible:

--> %pi = 2

However, one gets the following warning:

Redefining permanent variable.

This is misleading since one would think that the value has been indeed 
changed, but entering

--> %pi

produces

  %pi  =

    3.1415927

That's pi, not 2!

So it would be better an error message such as

Attempt to redefine permanent variable not allowed.
</pre>
      </blockquote>
      <pre class="moz-quote-pre" wrap="">
I agree with you. </pre>
    </blockquote>
    <p><br>
    </p>
    <p>So do i. Or "Can't set a protected variable" or something similar
      could be OK as well (nothing is really permanent ... :-)</p>
    <p><br>
    </p>
    <blockquote type="cite"
      cite="mid:3470-5ddf8000-6b-40f5a280@78587156">
      <pre class="moz-quote-pre" wrap="">Could you fill a bug and propose your improved error message?</pre>
    </blockquote>
    <p>Excellent suggestion.</p>
    <p><br>
    </p>
    <blockquote type="cite"
      cite="mid:3470-5ddf8000-6b-40f5a280@78587156">
      <blockquote type="cite">
        <pre class="moz-quote-pre" wrap="">
Now, a similar attempt such as

--> %f = 2

yields a completely different message:

Error: syntax error, unexpected =, expecting end of file</pre>
      </blockquote>
    </blockquote>
    <p><br>
    </p>
    <p>This is indeed a very surprising change specific to %T and %F,
      introduced with Scilab 6.0.0.<br>
      It is reported as <a moz-do-not-send="true"
        href="http://bugzilla.scilab.org/show_bug.cgi?id=15029">bug
        15029</a>.</p>
    <p>Regards</p>
    <p>Samuel<br>
      <br>
    </p>
  </body>
</html>