<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <br>
    <font face="Courier New">Christopher,<br>
      <br>
      Yes, you understand correctly my case.<br>
      <br>
      There is a reason that justifies my request: I often use my
      scripts as examples within a didactic context. They are
      exhaustively commented, for instance. I consider it preferable to
      have all the needed data in the same script since I cannot be sure
      that potential future users who find my script will also find the
      associated file with the data (sometimes one downloads a file for
      future use without checking whether we are downloading all the
      associated files). <br>
      <br>
      Then they should also change the script according to the
      particular directory tree where they choose to place the data,
      which is an unnecessary distraction from the very point of the
      example.<br>
      <br>
      I agree that it wouldn't be convenient nor practical to work in
      this way with very large data sets, but some 1000 data is not
      unusual.  <br>
    </font><br>
    Regards,<br>
    <br>
    Federico Miyara<br>
    <br>
    <div class="moz-cite-prefix">On 17/11/2022 05:16, Dang Ngoc Chan,
      Christophe wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:AS1PR07MB86613B37F48B9DF4C2B972BFE5069@AS1PR07MB8661.eurprd07.prod.outlook.com">
      <pre class="moz-quote-pre" wrap="">Hello Federico,

</pre>
      <blockquote type="cite">
        <pre class="moz-quote-pre" wrap="">De : users <a class="moz-txt-link-rfc2396E" href="mailto:users-bounces@lists.scilab.org"><users-bounces@lists.scilab.org></a> De la part de Federico
Miyara Envoyé : jeudi 17 novembre 2022 03:36

I have to create a vector from a plain text containing about 700 decimal numbers, each one with several digits.
[...]
Is there a simple way to do this other than [...] saving the data as a
text file
</pre>
      </blockquote>
      <pre class="moz-quote-pre" wrap="">
To be sure I understand well :
in your Scilab script, you have something like

foo = [3.14, 1.414 ; 1.732 ...

with the 700 numbers written inside your script?

Of course your request is legitimate but IMHO, this is really not the best practice.
I warmly recommend to have the 700 numbers in a separate file.

Regards

--
Christophe Dang Ngoc Chan
Mechanical calculation engineer

General
This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error), please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden.
_______________________________________________
users mailing list - <a class="moz-txt-link-abbreviated" href="mailto:users@lists.scilab.org">users@lists.scilab.org</a>
Click here to unsubscribe: <a class="moz-txt-link-rfc2396E" href="mailto:users-unsubscribe@lists.scilab.org"><mailto:users-unsubscribe@lists.scilab.org></a>
<a class="moz-txt-link-freetext" href="http://lists.scilab.org/mailman/listinfo/users">http://lists.scilab.org/mailman/listinfo/users</a>


</pre>
    </blockquote>
    <br>
  <div id="DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2">
<br /><br />
<hr style='border:none; color:#909090; background-color:#B0B0B0; height: 1px; width: 99%;' />
<table style='border-collapse:collapse;border:none;'>
        <tr>
                <td style='border:none;padding:0px 15px 0px 8px'>
                        <a href="https://www.avast.com/antivirus">
                                <img border=0 src="http://static.avast.com/emails/avast-mail-stamp.png" alt="Avast logo" />
                        </a>
                </td>
                <td>
                        <p style='color:#3d4d5a; font-family:"Calibri","Verdana","Arial","Helvetica"; font-size:12pt;'>
                                El software de antivirus Avast ha analizado este correo electrónico en busca de virus.
                                <br><a href="https://www.avast.com/antivirus">www.avast.com</a>
                        </p>
                </td>
        </tr>
</table>
<br />
<a href="#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2" width="1" height="1"> </a></div></body>
</html>