sprintf changes from 5.1 to 5.3 (is it related to fprintfMat change reported by Didier)

Antoine Monmayrant antoine.monmayrant at laas.fr
Wed Mar 23 16:23:32 CET 2011


Hi everyone,

I just noticed something that has changed between scilab 5.1 and 5.3.
In 5.3, "sprintf" support tabs and other special characters but I can't 
escape the backslash:

++++++scilab 5.1++++++

-->sprintf('\\text')
  ans  =
  \\text

-->sprintf('\text')
  ans  =
  \text

++++++scilab 5.3++++++

-->sprintf('\\text')
  ans  =
   \      ext

-->sprintf('\text')
  ans  =
         ext


Am I missing something?

Cheers,

Antoine



More information about the users mailing list