[Scilab-users] Problem with ascii()

Samuel Gougeon sgougeon at free.fr
Fri May 7 10:44:30 CEST 2021


Hello,

Le 07/05/2021 à 08:57, Federico Miyara a écrit :
>
> Dear all,
>
> If I run this simple code
>
> ascii([ascii("hello"), 13,10, ascii("world")])
>
> Scilab crashes.

Do you get a crash if you prevent displaying the result with a final 
semi-colon?

Le 07/05/2021 à 09:26, Jean-Yves Baudais a écrit :
> On Scilab 6.1.0.1582621796 

IMHO, that's the question. Some things were fixed for the last year 
about /the display/ of ascii(13), that actually sometimes crashed.
In the nightly built version, i get the expected display:

--> ascii([ascii("hello"), 13, 10, ascii("world")])
  ans  =
   "hello
world"

Regards
Samuel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20210507/472e5a78/attachment.htm>


More information about the users mailing list