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

Ru Vuott vuott at ...325...
Thu May 8 06:15:34 CEST 2014


uhmmm.... solved:

  Print  "PS1='\e[3;2f'"


--------------------------------------------
Gio 8/5/14, Ru Vuott <vuott at ...325...> ha scritto:

 Oggetto: [Gambas-user] "\[" -> Bad character constant in string
 A: gambas-user at lists.sourceforge.net
 Data: Giovedì 8 maggio 2014, 05:00
 
 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   
 
 ------------------------------------------------------------------------------
 Is your legacy SCM system holding you back? Join Perforce
 May 7 to find out:
 • 3 signs your SCM is hindering your productivity
 • Requirements for releasing software faster
 • Expert tips and advice for migrating your SCM now
 http://p.sf.net/sfu/perforce
 _______________________________________________
 Gambas-user mailing list
 Gambas-user at lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/gambas-user





More information about the User mailing list