escape sequence with msprintf
Iai Masafumi ax
iai at axelspace.com
Sun Mar 18 02:12:18 CET 2012
Hello,
>From msprintf(), I got the output pasted below, which seems strange. I
expected the two backslashes at the beginning was interpreted as a
single backslash. However, msprintf() converted the sequence of 2nd and
3rd characters, "\t", into a tab. Isn't this a bug? Or any other
explanation?
On the other hand, mprintf() appears handling the escape sequences as I
expected.
------------------------------
-->txt="\\theta", a=msprintf(txt), ascii(a), mprintf(txt)
txt =
\\theta
a =
\ heta
ans =
92. 9. 104. 101. 116. 97.
\theta
------------------------------
I use Scilab 5.3.3 32bit on Windows7.
Iai
More information about the users
mailing list