[Gambas-user] possible bug, a '\' inside "" treats as escape even a char to print

... d4t4full at ...626...
Wed Dec 16 16:52:02 CET 2015


Yes, the backslash is the standard escape character, so in order to print one you should put 2 together. Heck... actually you should put twice as many you need: If you need \\\, you use "\\\\\\".

Common ASCII escape sequences: If you want a line feed, the escape sequence is \n, a tab is \t, a carriage return is \r, and so on.

Regards,
zxMarce.



On Dec 16, 2015, 12:43, at 12:43, PICCORO McKAY Lenz <mckaygerhard at ...626...> wrote:
>i put this code:
>
>Print "\"
>
>But the ide thinks the i must put another '\' .. if not added a extra "
>at
>the end!
>
>So its normal and correct i put :
>
>Print "\\" and will print in console the \ normally?
>
>
>Lenz McKAY Gerardo (PICCORO)
>http://qgqlochekone.blogspot.com
>------------------------------------------------------------------------------
>_______________________________________________
>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