Tor Olav Kristensen wrote:
>
> Can you people try this code and see if you get the same
> error message as me ?
>
>
> #version 3.6;
>
> // Does not work
> #macro Test()
> #local AA = array[1] { 1 }
> AA
> #end // macro Test
>
> // Works
> #macro Tust()
> #local AA = array[1]
> #local AA[0] = 1;
> AA
> #end // macro Tust
>
> // Works
> #macro Tist()
> array[1] { 1 }
> #end // macro Test
>
> #declare BB = Test()
>
>
> I get this error message:
>
> File: E:\Raytracinger\Untitled.pov Line: 6
> File Context (5 lines):
> #local AA = array[1] { 1 }
> AA
> Parse Error: Cannot assign uninitialized identifier.
>
>
> POV-Ray for Windows Version 3.6.1.icl8.win32
> Athlon XP2400 PC with 512MB RAM
> Windows 2000 Professional v5.0.2195 Service Pack 2 Build 2195
I just tried the same on my Linux PC and got the same result.
Official POV-Ray for Linux Version 3.6.0 (g++ 3.4.0 @ i686-pc-linux-gnu)
Athlon XP1800 PC with 512MB RAM
Red-Hat v9.0
--
Tor Olav
http://subcube.net
http://subcube.com
Post a reply to this message
|