<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">Le 18/02/2016 18:45, Samuel Gougeon a
écrit :<br>
</div>
<blockquote cite="mid:56C60351.7080908@free.fr" type="cite">
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
<ul>
<ul>
<li>Then, Scilab 6: c(5) = {"abcd"} will insert a true
elementary cell as the c(1,3) c's component, not the string
"abcd". This is a straightforward and very clear syntax.
What is in RHS parameter is just values that are inserted in
the array, <b>as is</b>.<br>
<br>
.../...<br>
<br>
</li>
</ul>
<ul>
<ul>
<li><tt><tt>c([1 4]) = {"abc"} </tt></tt>inserts the same
"abc" string at the 1st and 4th positions in c. This is
great! The only thing is that the syntax should become
simply<br>
<tt><tt>c([1 4]) = "abc"<br>
</tt></tt>In the final implementation that we suggest
and hope, c([1 4]) = {"abc"} will be as well possible but
will insert the cell {"abc"} instead of the string "abc"
at the desired positions.<tt><tt><br>
<br>
</tt></tt></li>
</ul>
</ul>
</ul>
</blockquote>
<br>
If we do not want to make exceptions about the meaning of = { .. },
i.e. if we want to use it always and only as a container feeding
recipients and from which components to be inserted must be picked
up, even if there is only one component in the container, then,
inserting an elementary cell in one or several recipients might be
done simply with<br>
<tt>c(5) = {{"abcd"}}</tt><tt><br>
</tt><tt>c([1 4]) = {{"abcd"}}</tt><tt><br>
</tt>while <br>
<tt>c(5) = {"abcd"}</tt><tt><br>
</tt>will be exactly equivalent to<br>
<tt>c(5) = "abcd"</tt><tt><br>
</tt><br>
In <tt>c([1 4]) = {{"abcd"}}, </tt>external {} are the container,
and internal {} belong to the value to be inserted, as it will be in
<tt>c([1 4]) = {{"abcd"} %z }</tt><br>
<br>
SG<br>
</body>
</html>