POV-Ray : Newsgroups : povray.beta-test : POV-Ray v3.8.0-alpha.9811560 : Re: POV-Ray v3.8.0-alpha.9811560 Server Time
28 Apr 2024 17:48:33 EDT (-0400)
  Re: POV-Ray v3.8.0-alpha.9811560  
From: clipka
Date: 3 Sep 2018 08:12:56
Message: <5b8d2548$1@news.povray.org>
Am 02.09.2018 um 20:37 schrieb jr:

> I try (in a to be included file):
> 
> #local A = array [4] { ... };
> 
>   ...
> 
> #declare D = dictionary {
>   .arr: (A),
>   ...
> };
> 
> and get a "Parse Error: Expected 'numeric expression', array identifier found
> instead"

That's only natural: There is no meaning associated with the expression
`( ARRAY_IDENTIFIER )`.

> when I try
> 
>   .arr: A,
> 
> I get a parse error in the using scene: "Attempt to access uninitialised
> dictionary element".  (3.8.0-alpha.9606898)  can arrays not be used in a
> dictionary?

Nope - can't confirm with...

... wait, what?! - You're replying to a thread titled "POV-Ray
alpha.9811560" to report a problem you're seeing with alpha.9606898?


Never mind - can't confirm with either of the versions. Not with the
Windows incarnation, nor with the Linux incarnation. So apparently some
information is missing from your story.

- Are you sure you're using genuine original unmodified source code?
- Can you provide a minimal yet complete scene file that exhibits the
problem?


Post a reply to this message

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