In article <37b845ff@news.povray.org> , "ingo" <ing### [at] ingo demon nl> 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] povray org
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
|