POV-Ray : Newsgroups : povray.advanced-users : Macros acting strange : Re: Macros acting strange Server Time
30 Jul 2024 04:10:31 EDT (-0400)
  Re: Macros acting strange  
From: Tor Olav Kristensen
Date: 30 Mar 2000 14:41:44
Message: <38E3ACD4.9A9E063B@online.no>
Warp wrote:

>   You have to remember that a macro is _not_ a function. A macro is a
> substitution string. The body if the macro is inserted in the place of
> the call as-is.

Hmmm...
If that is true, then why does this not work?


#macro Test(ss)

  { ss, ss, ss }

#end

#declare TestArray = array[3] Test(2)


Tor Olav

mailto:tor### [at] hotmailcom
http://www.crosswinds.net/~tok/tokrays.html


Post a reply to this message

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