Hello,
The printf_conversion
page tells that the ""%c" directive accepts and
displays an integer value converted to a character".
Yet, with Scilab 6.1.0
--> msprintf("AB %c\n", 3)
msprintf: Wrong number of input arguments: data doesn't
fit with format.
--> mprintf("AB %c\n", "5")
AB 5
--> mprintf("AB %c\n", "R")
AB R
--> mprintf("AB %c\n", "RB")
AB RB
So, what's the difference between the %c and %s printing formats?
The Scilab 5.5 behavior was the same, except that only the first
character of the input was printed:
-->msprintf("AB %c\n", "RB")
ans =
AB R
Regards
Samuel
_______________________________________________
users mailing list
[hidden email]
http://lists.scilab.org/mailman/listinfo/users