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:29:14 EDT (-0400)
  Re: something doesn'w work with concat and str  
From: Alain
Date: 2 Dec 2013 15:33:55
Message: <529ceeb3$1@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.
>
>
And windows use the back-slash because DOS 1.0, that did not support 
folders, used the slash as an option prefix while using a + or - would 
have been beter.
Remember dir /w...
dir -w or dir +w would have been preferable.


Post a reply to this message

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