[PD-dev] backslash in Pd console

Max abonnements at revolwear.com
Wed May 23 12:30:57 CEST 2018


For the archive:

     post("\u005C");
     post("\x5C");

also produce \\ instead of \

verbatim string escaping like
     post(@"\"");

don't compile (error: stray ‘@’ in program)

m.


On 18.05.2018 16:25, Max wrote:
> Is there a way to print a backslash to the console?
> 
> post("\"); results in nothing (escape character), but
> post("\\"); unexpectedly prints two backslashes, I thought the first one 
> would would escape the second one.
> 
> m
> 
> _______________________________________________
> Pd-dev mailing list
> Pd-dev at lists.iem.at
> https://lists.puredata.info/listinfo/pd-dev




More information about the Pd-dev mailing list