POV-Ray : Newsgroups : povray.beta-test : macro issue : Re: macro issue Server Time
29 Jul 2024 08:19:20 EDT (-0400)
  Re: macro issue  
From:
Date: 17 Jun 2002 09:42:18
Message: <grorgu8cfvsgidqgj80jjj2hl894ul0tnd@4ax.com>
On Mon, 17 Jun 2002 09:21:31 -0400, "Scott Wasson" <swa### [at] townispcom>
wrote:
> If you mean the last note about using macros inside layered textures, yes.

Yes. I mean that part.

> Except I have it the other way around -- multiple layers in a macro.

But you said: "if I add a #-something to the second layer".
Every #-something can lead to another #declaration of of layered texture. So
new # breaks previous declaration block and starts another. But previous one
is not finished so it reports an error about it. Sentence in pointed note
describes similiar situation: "macro would contain a declare the parser could
no longer guess that two or more texture identifiers are supposed to belong to
the layered texture and not some other declare." IIRC This behaviour was
explained many times.

ABX


Post a reply to this message

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