[Scilab-users] printing a boolean value

Samuel Gougeon sgougeon at free.fr
Sat Mar 29 14:58:10 CET 2014


Hello,

Le 29/03/2014 14:21, Iai Masafumi ax a écrit :
> > -->mprintf("%s\n", string([%T; %F]))
> I am amazed to get my question answered after three month! Thanks, 
> Stefan.
.
Stefan answered to your initial question 19 mn after its publication on 
the list.

> Still, I want to see Scilab become more intuitive.
>
> If Scilab considers the boolean type is completely different type than 
> integer, I think it should have a format specifier for the boolean 
> type, that can be given to mprintf.
>
> Or a boolean value may be implicitely converted to an integer value as 
> in C, which is widely recognized practice.
.
Indeed. Bugzilla is your friend to post this wish

Best regards
Samuel



More information about the users mailing list