[Scilab-users] exists yields double
Federico Miyara
fmiyara at fceia.unr.edu.ar
Thu Oct 10 06:33:40 CEST 2019
Dear all,
I wonder why the function "exists" yields 1 or 0 as doubles, instead of
boolean. I know there is little distinction between booleans and {0, 1}
and can be easily converted back and forth. I also know that Scilab is
not meant to be a strongly typed language. But wouldn't it make more
sense that this kind of funtion yielded a boolean result?
It challenges reason the fact that "isreal", for instance, yields a
boolean and "exists" yields a double.
Regards,
Federico Miyara
--
El software de antivirus Avast ha analizado este correo electrónico en busca de virus.
https://www.avast.com/antivirus
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20191010/2a9d3b35/attachment.htm>
More information about the users
mailing list