POV-Ray : Newsgroups : povray.newusers : object{macro()} fails because union : Re: object{macro()} fails because union Server Time
4 Nov 2024 19:20:30 EST (-0500)
  Re: object{macro()} fails because union  
From: Marc-Hendrik Bremer
Date: 29 Nov 2001 09:03:03
Message: <3c064017$1@news.povray.org>
Well ... I suggested the same as chaps second way (not including the
declares), which is essentially nothing else but the way using tempobj.
It helps to look at a macro as if it is written at the place of it's call.
If you can cut the macro out #macro ... #end shell and place instead of the
call (providing the right variable declarations of course), then your macro
will most likely work. The only exception of this is IMO the use of local
variables (including parameter-variables).

Glad it works now.

Marc-Hendrik


marabou schrieb in Nachricht <3c063186@news.povray.org>...

thank you for solving!
marc-nedrik, your hint to enclose the while loop is no the right way in
this case because i have to translate evey single call of ein_fach(). but
your tip was worth gold for me.
i preferred chaps way, which is working fine!


Post a reply to this message

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