[Gambas-user] "\[" -> Bad character constant in string

Ru Vuott vuott at ...325...
Thu May 8 05:00:41 CEST 2014


Hello,

if I run this line:

      Print "PS1='\[\033[3;2f\]'"


I obtain this error-notice: "Bad character constant in string"

...where the problem seems to be:  \[   and   \]

How can I solve that problem ?  I'd like to specify that I do not want the mere graphic result, but (...in other code, obviously) it have to be able to *work*.

Regards
vuott




More information about the User mailing list