POV-Ray : Newsgroups : povray.text.scene-files : nested #macro definitions? Server Time
31 Oct 2024 10:23:52 EDT (-0400)
  nested #macro definitions? (Message 1 to 2 of 2)  
From: Thomas de Groot
Subject: nested #macro definitions?
Date: 3 Sep 2000 04:45:51
Message: <39B21059.E521C2CE@inter.nl.net>
Hi everybody!

This is something I do not understand.
I want to run a macro in MegaPOV 0.5, that was made by Fabien Mosen (the

mannequin). I have no problems with it in POV-Ray 3.1, nor had I
problems in SuperPOV, as far as I remember.
Now however, I get an error message (at the second macro declaration)
telling me that:
        "nested #macro definitions are not allowed in MegaPov. Please
separate the definitions."

Why is this? What should I do? I tried the #version official 3.1;
command line, but this does not change anything.
I attach the two script files so you can test it for yourself.

Thanks for any help or suggestions.
Cheers!

Thomas


Post a reply to this message


Attachments:
Download 'us-ascii' (4 KB) Download 'us-ascii' (13 KB) Download 'us-ascii' (1 KB)

From: Chris Huff
Subject: Re: nested #macro definitions?
Date: 3 Sep 2000 11:17:51
Message: <chrishuff-C2F02D.10193003092000@news.povray.org>
In article <39B21059.E521C2CE@inter.nl.net>, Thomas de Groot 
<t.d### [at] internlnet> wrote:

> Why is this? What should I do? I tried the #version official 3.1;
> command line, but this does not change anything.
> I attach the two script files so you can test it for yourself.

MegaPOV has a patch to increase the speed of macros, unfortunately it 
does not allow nested macro definitions. I do not think this patch is 
affected by the #version directive, the only way you could turn it off 
would be to recompile MegaPOV without this patch.
Also, when you post a scene to demonstrate a problem or bug, please trim 
it down to just the portion that shows the problem. The scene you posted 
was much larger than necessary.


> begin:vcard 
> n:de Groot;Thomas
> x-mozilla-html:FALSE
> adr:;;;;;;
> version:2.1
> email;internet:t.d### [at] internlnet
> x-mozilla-cpt:;16000
> fn:Thomas de Groot
> end:vcard

Please don't use vcards here. Of those 9 lines, only 2 were useful 
information. Please stick to signatures, since anyone can see them 
properly.

-- 
Christopher James Huff
Personal: chr### [at] maccom, http://homepage.mac.com/chrishuff/
TAG: chr### [at] tagpovrayorg, http://tag.povray.org/

<><


Post a reply to this message

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