<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p><font face="Arial">Hello,</font></p>
    <p><font face="Arial">Scilab 6.1.0 brings a feature about clearing
        mlists, that can now be overloaded.<br>
        <br>
        However, it's a special overloading feature, that does not
        replace the role of clear(), but that comes in addition to it,
        as documented in the clear page:
        <a class="moz-txt-link-freetext" href="https://help.scilab.org/docs/6.1.0/en_US/clear.html">https://help.scilab.org/docs/6.1.0/en_US/clear.html</a></font></p>
    <p><font face="Arial">"Note: </font><code class="literal" dir="ltr"
        style="font-size: 13px; 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;
        white-space: normal; widows: 2; word-spacing: 0px;
        -webkit-text-stroke-width: 0px; text-decoration-style: initial;
        text-decoration-color: initial;">clear()</code><span
        style="color: rgb(0, 0, 0); font-family: sans-serif; font-size:
        16px; 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; white-space: normal; widows: 2;
        word-spacing: 0px; -webkit-text-stroke-width: 0px;
        text-decoration-style: initial; text-decoration-color: initial;
        display: inline !important; float: none;"><span> </span>can be
        overloaded for any<span> </span></span><code class="literal"
        dir="ltr" style="font-size: 13px; 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; white-space: normal; widows: 2;
        word-spacing: 0px; -webkit-text-stroke-width: 0px;
        text-decoration-style: initial; text-decoration-color: initial;">mlist("foo")</code><span
        style="color: rgb(0, 0, 0); font-family: sans-serif; font-size:
        16px; 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; white-space: normal; widows: 2;
        word-spacing: 0px; -webkit-text-stroke-width: 0px;
        text-decoration-style: initial; text-decoration-color: initial;
        display: inline !important; float: none;"><span> </span>type, by
        defining a<span> </span></span><code class="literal" dir="ltr"
        style="font-size: 13px; 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;
        white-space: normal; widows: 2; word-spacing: 0px;
        -webkit-text-stroke-width: 0px; text-decoration-style: initial;
        text-decoration-color: initial;">%foo_clear()</code><span
        style="color: rgb(0, 0, 0); font-family: sans-serif; font-size:
        16px; 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; white-space: normal; widows: 2;
        word-spacing: 0px; -webkit-text-stroke-width: 0px;
        text-decoration-style: initial; text-decoration-color: initial;
        display: inline !important; float: none;"><span> </span>macro.
        It will be called either when<span> </span></span><code
        class="literal" dir="ltr" style="font-size: 13px; 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; white-space: normal; widows: 2;
        word-spacing: 0px; -webkit-text-stroke-width: 0px;
        text-decoration-style: initial; text-decoration-color: initial;">clear</code><span
        style="color: rgb(0, 0, 0); font-family: sans-serif; font-size:
        16px; 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; white-space: normal; widows: 2;
        word-spacing: 0px; -webkit-text-stroke-width: 0px;
        text-decoration-style: initial; text-decoration-color: initial;
        display: inline !important; float: none;"><span> </span>is
        explicitly applied to any mlist of this type, or implicitly when
        any mlist of this type is deleted when leaving the environment
        where it has been defined."</span></p>
    <p><span style="color: rgb(0, 0, 0); font-family: sans-serif;
        font-size: 16px; 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; white-space: normal;
        widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px;
        text-decoration-style: initial; text-decoration-color: initial;
        display: inline !important; float: none;">Now, when i try to use
        this feature, i do not get what i understand we should expect.
        Example:</span></p>
    <p><tt><span style="color: rgb(0, 0, 0); font-size: 16px;
          font-style: normal; font-variant-ligatures: normal;
          font-variant-caps: normal; font-weight: 400; letter-spacing:
          normal; text-align: start; text-indent: 0px; text-transform:
          none; white-space: normal; word-spacing: 0px;
          -webkit-text-stroke-width: 0px; text-decoration-style:
          initial; text-decoration-color: initial; display: inline
          !important; float: none;">--> m = mlist("test");<br>
          --> typeof(m)<br>
           ans  =<br>
            "test"<br>
          <br>
          --> function %test_clear()<br>
            >     disp("mlist test cleared")<br>
            > endfunction<br>
          <br>
          --> clear m<br>
        </span></tt><tt>-->     <<<< nothing is printed.
        We would expect "mlist test cleared", wouldn't we?</tt></p>
    <p><br>
    </p>
    <p>What am i doing wrong?</p>
    <p>Regards<br>
      Samuel<br>
    </p>
  </body>
</html>