POV-Ray : Newsgroups : povray.windows : Output_File_Name -- quoted string question : Re: Output_File_Name -- quoted string question Server Time
23 Feb 2024 19:11:44 EST (-0500)
  Re: Output_File_Name -- quoted string question  
From: Alain
Date: 12 May 2013 20:50:45
Message: <519038e5$1@news.povray.org>

> On 12-5-2013 16:36, Stephen wrote:
>> It also works with "\" instead of "\\" as Thomas posted.
> In some cases double back slashes are needed instead of single ones, I
> found out by experience. In particular, when declaring names to be used
> later in the code, like:
> #declare Terragen_Sky_Name = "Terragen files\\Skies\\Pano_09_0h_50a_"
> Not sure why that is though.
> Thomas

The back slash is the escape character in strings. For example, "\n" is 
used as a new line character, if you have \Skies\Pano,
it get parsed as "\s" "kies" "\p" "ano"
\s stand for the control character DC3 and \p for DLE


Post a reply to this message

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