POV-Ray : Newsgroups : povray.general : semi-colon in macro ? : Re: semi-colon in macro ? Server Time
11 Aug 2024 09:18:53 EDT (-0400)
  Re: semi-colon in macro ?  
From: Thorsten Froehlich
Date: 16 Aug 1999 13:23:14
Message: <37b84902@news.povray.org>
In article <37b845ff@news.povray.org> , "ingo" <ing### [at] ingodemonnl> wrote:

> Three little macro's. The first and third are ok, the second is not. The only
> difference between Twee and Drie is the position of the semi-colons. I
> understand that a macro works by text replacement. That does not make me
> understand why Twee doesn't work and Drie does. Can somebody explain?

The documentation, section "Are POV-Ray Macros a Function or a Macro?"
explains this matter in detail. The essence is that in POV-Ray macros are
_not_ completely a simple text replacement. This is why your macro doesn't
work as expected.


    Thorsten


____________________________________________________
Thorsten Froehlich
e-mail: mac### [at] povrayorg

I am a member of the POV-Ray Team.
Visit POV-Ray on the web: http://mac.povray.org


Post a reply to this message

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