POV-Ray : Newsgroups : povray.beta-test : bug: #if inside #if Server Time
12 Nov 2024 19:57:40 EST (-0500)
  bug: #if inside #if (Message 1 to 4 of 4)  
From:
Subject: bug: #if inside #if
Date: 26 Sep 2001 12:38:51
Message: <4014rtcuuljltdavi651pt6ulht43dieh8@4ax.com>
POV 3.5b4 on PII233 128 MB with NT4Sp6

this script/line won't work

#if(#if(yes)yes#end)#end

it was reported by Micha Riser in
http://news.povray.org/povray.general/18700/

ABX


Post a reply to this message

From: Nathan Kopp
Subject: Re: #if inside #if
Date: 30 Sep 2001 23:33:40
Message: <3bb7e414$1@news.povray.org>
You're confusing the poor parser.  I think we should fix this by documenting
it as a "limitation" or maybe even a "feature".  ;-)  Actually, I'm serious
about putting in the docs that this is a limitation of the parser.  The code
is already messy enough, and trying to add this functionality is surely
going to only make it worse.

-Nathan


> POV 3.5b4 on PII233 128 MB with NT4Sp6
>
> this script/line won't work
>
> #if(#if(yes)yes#end)#end
>
> it was reported by Micha Riser in
> http://news.povray.org/povray.general/18700/
>
> ABX


Post a reply to this message

From: Christoph Hormann
Subject: Re: #if inside #if
Date: 1 Oct 2001 04:34:16
Message: <3BB82B3F.18814A7F@gmx.de>
Nathan Kopp wrote:
> 
> You're confusing the poor parser.  I think we should fix this by documenting
> it as a "limitation" or maybe even a "feature".  ;-)  Actually, I'm serious
> about putting in the docs that this is a limitation of the parser.  The code
> is already messy enough, and trying to add this functionality is surely
> going to only make it worse.
> 

I don't know if it would be good to mention it just at this point in the
docs.  There is nowhere mentioned where directives are allowed in general
so this is the thing to clearify (beginning of chapter 6.2, it right now
says 'almost any place').

Christoph

-- 
Christoph Hormann <chr### [at] gmxde>
IsoWood include, radiosity tutorial, TransSkin and other 
things on: http://www.schunter.etc.tu-bs.de/~chris/


Post a reply to this message

From: ingo
Subject: Re: #if inside #if
Date: 1 Oct 2001 15:52:31
Message: <Xns912DDE871F41Eseed7@povray.org>
in news:3BB82B3F.18814A7F@gmx.de Christoph Hormann wrote:

> (beginning of chapter 6.2, it right now
> says 'almost any place').
> 

I'll have a look.

Ingo

-- 
Photography: http://members.home.nl/ingoogni/
Pov-Ray    : http://members.home.nl/seed7/


Post a reply to this message

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