POV-Ray : Newsgroups : povray.beta-test : Request for Testing: Dictionaries and Arrays : Re: Request for Testing: Dictionaries and Arrays Server Time
18 Apr 2024 23:01:28 EDT (-0400)
  Re: Request for Testing: Dictionaries and Arrays  
From: clipka
Date: 22 Nov 2016 02:04:18
Message: <5833edf2$1@news.povray.org>
Am 22.11.2016 um 00:48 schrieb Mike Horvath:
> 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"]?

Yes, of course. Well spotted.


Post a reply to this message

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