<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 06/02/2020 à 23:17, Samuel Gougeon a
écrit :<br>
</div>
<blockquote type="cite"
cite="mid:f0fed86e-0c23-aa69-1d7b-70b1acce1591@free.fr">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<div class="moz-cite-prefix">Le 06/02/2020 à 22:55, Federico
Miyara a écrit :<br>
</div>
<blockquote type="cite"
cite="mid:91e07b07-be0b-66bc-25a8-8264c8b3fe43@fceia.unr.edu.ar">
<meta http-equiv="content-type" content="text/html;
charset=UTF-8">
<br>
<font face="Courier New">Dear All,<br>
<br>
I'm trying to use the error messages available at <a
class="moz-txt-link-freetext"
href="https://help.scilab.org/docs/6.0.2/en_US/error_table.html"
moz-do-not-send="true">https://help.scilab.org/docs/6.0.2/en_US/error_table.html</a><br>
<br>
However, I cannot find one that describes precisely what is
wrong.<br>
<br>
My argument is any scalar, vector, matrix or N-D array of real
or complex numbers.<br>
<br>
If I use<br>
<br>
"%s: Argument #%d: Decimal or complex number expected.\n"<br>
<br>
it may convey the idea that only scalars are admissible. I
think the word "number" jeopardizes the message. It would be
better if the word "type" were clearly mentioned, for instance
"Wrong input type: %d expected.\n"<br>
</font></blockquote>
<p><br>
</p>
<p>Yes, but to me, "input" is useless, since only input types are
testable. In addition, the argument's number must appear. So
yes, something like</p>
<p><font face="Courier New">"%s: Argument #%d: Decimal or complex
type expected.\n"<br>
<br>
</font><tt>would be better</tt><tt>. </tt></p>
</blockquote>
<p>Just a little issue, that is not disturbing for me: "decimal" and
"complex" are not proper Scilab types.<br>
From there, we certainly won't go on discussing about "constant",
"double" and "number",<br>
as we recently did here.<br>
But the term "number" has been proposed for this reason.<br>
So, may be it is not so bad.</p>
<br>
</body>
</html>