POV-Ray : Newsgroups : povray.general : something doesn'w work with concat and str : Re: something doesn'w work with concat and str Server Time
29 Jul 2024 00:32:01 EDT (-0400)
  Re: something doesn'w work with concat and str  
From: Anthony D  Baye
Date: 1 Dec 2013 15:25:00
Message: <web.529b9a928810de5d89b5ac30@news.povray.org>
Thomas de Groot <tho### [at] degrootorg> wrote:
> I had to think a bit deeply to find the /why/ of this; it has to do with
> the way string literals are interpreted. See the off-line docs section
> 3.3.1.9.1 String Literals, or in the online wiki:
> http://wiki.povray.org/content/Reference:Strings#String_Literals
>
> Thomas

This is a natural effect of using escaped characters in strings (special
characters like non-printing characters \t and \n or \b).  One of the dumber
things windows does is use back-slash instead of forward-slash in directory
paths, so you have to escape the backslash "\\" to get it to render properly in
a string.

Regards,
A.D.B.


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.