<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_UNCONFIRMED "
   title="UNCONFIRMED - UNO: `callFunction`does not accept optional Array parameter"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=133910#c3">Comment # 3</a>
              on <a class="bz_bug_link 
          bz_status_UNCONFIRMED "
   title="UNCONFIRMED - UNO: `callFunction`does not accept optional Array parameter"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=133910">bug 133910</a>
              from <span class="vcard"><a class="email" href="mailto:jmaguro@gmail.com" title="jun meguro <jmaguro@gmail.com>"> <span class="fn">jun meguro</span></a>
</span></b>
        <pre>I reproduced the error with the following simpler code.


Sub test
        Dim sMoji as string
        svc = createUnoService( "com.sun.star.sheet.FunctionAccess" )
        sMoji = svc.callFunction("MID",array("ABCABC123123",1,3))
        msgbox(sMoji)
End Sub

Sub test2
        Dim sMoji as string
        svc = createUnoService( "com.sun.star.sheet.FunctionAccess" )
        sMoji = svc.callFunction("ASC",array("ABCABC123123"))
        msgbox(sMoji)
End Sub


On 6.4.4 ,Executed successfully.
On 7.0.0 Beta2 ,Error Occured.</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>