Dear Frederico,

A question to be sure we understood the underlying problem.
How did you get this error message?

-          Using SciNotes (F5 shorcut for example)?

-          Using exec function?

-          Using copy/paste?

Thanks.



From: users <users-boun...@lists.scilab.org> On Behalf Of Federico Miyara
Sent: Thursday, November 17, 2022 10:21 PM
To: users@lists.scilab.org
Subject: Re: [Scilab-users] command longer than 4096



EXTERNAL EMAIL :  The sender of this email is external to 3DS. Be wary of the 
content and do not open unexpected attachments or links. If you consider this 
email as spam, you can click 
here<https://spam-report.3ds.com/?link=%3ca%20href=%22https://www.mailcontrol.com/sr/QZYlT7N8RGDGX2PQPOmvUqKJsUvVq31ZRDFtiiGhHpJZ_bGk0noliIY1G-osMefMsui7cG11ww75pl0FDW8fzw==%22%3ehere%3c/a%3e>
 (no login or additional action will be requested).




Christopher,

Yes, you understand correctly my case.

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).

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.

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.

Regards,

Federico Miyara
On 17/11/2022 05:16, Dang Ngoc Chan, Christophe wrote:

Hello Federico,



De : users 
<users-boun...@lists.scilab.org><mailto:users-boun...@lists.scilab.org> 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



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 - users@lists.scilab.org<mailto:users@lists.scilab.org>

Click here to unsubscribe: 
<mailto:users-unsubscr...@lists.scilab.org><mailto:users-unsubscr...@lists.scilab.org>

http://lists.scilab.org/mailman/listinfo/users






________________________________
[Avast logo]<https://www.avast.com/antivirus>


El software de antivirus Avast ha analizado este correo electrónico en busca de 
virus.
www.avast.com<https://www.avast.com/antivirus>




This email and any attachments are intended solely for the use of the 
individual or entity to whom it is addressed and may be confidential and/or 
privileged.

If you are not one of the named recipients or have received this email in error,

(i) you should not read, disclose, or copy it,

(ii) please notify sender of your receipt by reply email and delete this email 
and all attachments,

(iii) Dassault Systèmes does not accept or assume any liability or 
responsibility for any use of or reliance on this email.


Please be informed that your personal data are processed according to our data 
privacy policy as described on our website. Should you have any questions 
related to personal data protection, please contact 3DS Data Protection Officer 
https://www.3ds.com/privacy-policy/contact/

_______________________________________________
users mailing list - users@lists.scilab.org
Click here to unsubscribe: <mailto:users-unsubscr...@lists.scilab.org>
https://lists.scilab.org/mailman/listinfo/users

Reply via email to