Re: [Scilab-users] A possible bug with format(width)

2019-06-05 Thread stephane . mottelet
Scilab 6.0.1 does it as follows:    --> format(4); u=123.456   u  =         1.0  D+02   The display of Scilab 5.5.2 does not respect the format length either,  because " 123." has length 5 (blank sign +123 + dot)   S. Quoting Samuel Gougeon : Le 05/06/2019 à 21:57,

Re: [Scilab-users] A possible bug with format(width)

2019-06-05 Thread Samuel Gougeon
Le 05/06/2019 à 21:57, stephane.motte...@utc.fr a écrit : As MacOSX, Linux is not affected, this will help to solve this bug: Scilab 6.0.2 (Feb 14 2019, 10:11:47) --> *OS_Version* ans= Linux 4.15.0-48-generic --> *format(4); u=123.456* u= 1.D+02 Are you in "v" format? This result

Re: [Scilab-users] A possible bug with format(width)

2019-06-05 Thread stephane . mottelet
As MacOSX, Linux is not affected, this will help to solve this bug: Scilab 6.0.2 (Feb 14 2019, 10:11:47)   --> OS_VERSION  ans  =    Linux 4.15.0-48-generic   --> FORMAT(4); U=123.456  u  =       1.D+02 S. Quoting Samuel Gougeon : Hello Izabela,   Le 05/06/2019 à

Re: [Scilab-users] A possible bug with format(width)

2019-06-05 Thread Samuel Gougeon
Hello Izabela, Le 05/06/2019 à 16:38, Izabela Wójcik-Grząba a écrit : .../... With format(4) and attempt to display a variable u Scilab stops working. Does everyone have such behaviour and isn't it a bug? Confirmed behavior on win7 64 bits. Sure it is a bug, a serious one. You would be kind

Re: [Scilab-users] A possible bug with format(width)

2019-06-05 Thread Izabela Wójcik-Grząba
My computer works under Windows 7, 64bit. Iza W dniu 05.06.2019 16:55, Stéphane Mottelet napisał(a): Le 05/06/2019 à 16:38, Izabela Wójcik-Grząba a écrit : Hello, When Scilab 6.0.2 became available I reported a crash while running my program which worked fine on previous version:

Re: [Scilab-users] A possible bug with format(width)

2019-06-05 Thread Stéphane Mottelet
Le 05/06/2019 à 16:38, Izabela Wójcik-Grząba a écrit : Hello, When Scilab 6.0.2 became available I reported a crash while running my program which worked fine on previous version:

[Scilab-users] A possible bug with format(width)

2019-06-05 Thread Izabela Wójcik-Grząba
Hello, When Scilab 6.0.2 became available I reported a crash while running my program which worked fine on previous version: http://mailinglists.scilab.org/Scilab-users-Scilab-crash-on-a-Windows-server-td4039065.html#a4039120 I managed to find out that the problem was about "format" which was

Re: [Scilab-users] {EXT} How to count pixels

2019-06-05 Thread Jean-Philippe Grivet
Hello, I am mainly interested in obtaining the ratio (number of white pixels)/(number of black pixels), so that units are not of primary interest. Le 03/06/2019 à 15:21, Stéphane Mottelet a écrit : Le 03/06/2019 à 14:56, Jean-Philippe Grivet a écrit : My thanks to all respondants. The