<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=utf-8">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <p><tt>Hello,</tt></p>
    <p><tt>Surprisingly, as reported in </tt><a class="moz-txt-link-freetext" href="http://bugzilla.scilab.org/15534">http://bugzilla.scilab.org/15534</a>,
      <tt>after 30 years, Scilab still does not know how to concatenate
        booleans with encoded integers.<br>
        For instance :<br>
      </tt></p>
    <pre id="comment_text_0" style="font-size: small; color: rgb(0, 0, 0); font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-style: initial; text-decoration-color: initial;">--> [%f int8(-3)]

Undefined operation for the given operands.
check or define function %b_c_i for overloading.
</pre>
    <tt>It is surprising, because <br>
    </tt>
    <ul>
      <li><tt>For some languages like Octave, booleans are actually some
          numbers restricted to 0|1, and such simple concatenations are
          available.<br>
        </tt></li>
      <li><tt>Implementing it in Scilab is trivial and does not really
          set any question, since both 0 and 1 are present in all Scilab
          integer classes.</tt></li>
    </ul>
    <p><tt>An implementation is proposed for Scilab 6.1 (see the
        bugzilla report).</tt></p>
    <p><tt>Comments are welcome.</tt></p>
    <p><tt>Samuel</tt><br>
    </p>
    <tt>PS : Please do not comment here about the concatenation of
      distinct integer classes together (like [int8(-3) uint16(10)]), or
      with decimal numbers. A dedicated report and thread will be opened
      for them. A survey of how other similar languages process such
      concatenations is in progress.<br>
      <br>
    </tt>
  </body>
</html>