POV-Ray : Newsgroups : povray.general : #IF question using a substring : Re: #IF question using a substring Server Time
7 Aug 2024 23:15:37 EDT (-0400)
  Re: #IF question using a substring  
From: Ron Parker
Date: 9 May 2001 15:22:55
Message: <slrn9fj68h.jn9.ron.parker@fwi.com>
On Wed, 9 May 2001 14:21:16 -0500, Patrick Dugan wrote:
>          #end;
>
>
>In each case Povray informs me that there is no matching } in text.
>This code is within a text declaration.
>
>I don't see what is suddenly causing the new error.

Perhaps the extra semicolon?

-- 
#macro R(L P)sphere{L F}cylinder{L P F}#end#macro P(V)merge{R(z+a z)R(-z a-z)R(a
-z-z-z a+z)torus{1F clipped_by{plane{a 0}}}translate V}#end#macro Z(a F T)merge{
P(z+a)P(z-a)R(-z-z-x a)pigment{rgbt 1}hollow interior{media{emission T}}finish{
reflection.1}}#end Z(-x-x.2y)Z(-x-x.4x)camera{location z*-10rotate x*90}


Post a reply to this message

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