POV-Ray : Newsgroups : povray.general : POV-Ray 3.1 - Major bug with macro? Server Time
13 Aug 2024 15:27:17 EDT (-0400)
  POV-Ray 3.1 - Major bug with macro? (Message 1 to 1 of 1)  
From: Friedemann Schmidt
Subject: POV-Ray 3.1 - Major bug with macro?
Date: 18 Jul 1998 10:10:37
Message: <35b09ec5.6112313@news.povray.org>
Hi,

In the lines

  #macro Test()
    #declare i = 2;
    #debug concat("_Test i: ", str(i, 0, -1), "\n")
  #end

  #declare i = 1;
  #debug concat(" i: ", str(i, 0, -1), "\n")
  Test()
  #debug concat(" i: ", str(i, 0, -1), "\n")

the last line produces an error: "... undeclared identifier i
found...". A "#local" declared "i" in Test() doesn't work too.

What's wrong with it?

Bye,
Friedemann



Friedemann Schmidt
Fri### [at] Stonescom
Raytracing-Gallery: http://www.rz.fhtw-berlin.de/~s0049669


Post a reply to this message

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