<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 19/08/2016 17:20, Samuel Gougeon a
      écrit :<br>
    </div>
    <blockquote cite="mid:57B723BA.9050302@free.fr" type="cite">
      <meta content="text/html; charset=windows-1252"
        http-equiv="Content-Type">
      <div class="moz-cite-prefix">Le 19/08/2016 13:26, Gerhard Kreuzer
        a écrit :<br>
      </div>
      <blockquote cite="mid:072801d1fa0c$922bca70$b6835f50$@liftoff.at"
        type="cite">
        <meta http-equiv="Content-Type" content="text/html;
          charset=windows-1252">
        <meta name="Generator" content="Microsoft Word 14 (filtered
          medium)">
        <style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:"Comic Sans MS";
        panose-1:3 15 7 2 3 3 2 2 2 4;}
@font-face
        {font-family:Monospaced;
        panose-1:0 0 0 0 0 0 0 0 0 0;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Vorformatiert Zchn";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";}
span.E-MailFormatvorlage17
        {mso-style-type:personal-compose;
        font-family:"Comic Sans MS","serif";
        color:windowtext;
        font-weight:normal;
        font-style:normal;}
span.HTMLVorformatiertZchn
        {mso-style-name:"HTML Vorformatiert Zchn";
        mso-style-priority:99;
        mso-style-link:"HTML Vorformatiert";
        font-family:"Courier New";
        mso-fareast-language:DE-AT;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
        <div class="WordSection1">.../....
          <pre><span style="font-size:12.0pt;font-family:"Comic Sans MS","serif"">Any idea how I can parse my file and get the binary data blocks into variables, or at least get pointers to  the starting points, so I am able to read the binary data with some file read function?<o:p></o:p></span></pre>
        </div>
      </blockquote>
      <br>
      <tt>../...<br>
      </tt><tt>regexp(s, "/</tt><span
style="font-size:12.0pt;font-family:"Monospaced","serif";color:rosybrown">#data#(.*?)#EOC#)</span><tt><b>/ms</b>");<br>
      </tt><br>
      May be the hardest thing will be to get your binary content as a
      string.<br>
    </blockquote>
    .<br>
    You may try using mgetstr() and see how it behaves on a binary file,
    with respect to embedded ascii(10) or/and non-printable chars with
    ascii codes in [0:31] that will very likely be in any binary
    content:<br>
    <a class="moz-txt-link-freetext" href="https://help.scilab.org/docs/6.0.0/en_US/mgetstr.html">https://help.scilab.org/docs/6.0.0/en_US/mgetstr.html</a><br>
    <br>
    Samuel<br>
    <br>
  </body>
</html>