POV-Ray : Newsgroups : povray.beta-test : Request for Testing: Dictionaries and Arrays : Re: Request for Testing: Dictionaries and Arrays Server Time
28 Sep 2021 07:20:08 EDT (-0400)
  Re: Request for Testing: Dictionaries and Arrays  
From: Mike Horvath
Date: 21 Nov 2016 18:48:33
Message: <583387d1$1@news.povray.org>
On 11/21/2016 6:03 PM, clipka wrote:
>     // testing whether a dictionary contains a particular key
>     // (e.g.)
>     #ifdef (Fnord.["Foo"]) ... #end
>     #declare FooKeyExists = defined(Fnord.Foo);

Should that be Fnord["Foo"] instead of Fnord.["Foo"]?

Mike


Post a reply to this message

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