POV-Ray : Newsgroups : povray.documentation.inbuilt : dictionary container types : Re: dictionary container types Server Time
18 Apr 2024 13:18:43 EDT (-0400)
  Re: dictionary container types  
From: clipka
Date: 22 Nov 2016 02:31:45
Message: <5833f461$1@news.povray.org>
Am 19.11.2016 um 20:26 schrieb clipka:

>     // testing whether a dictionary contains a particular key
>     // (e.g.)
>     #ifdef (Fnord.["Foo"]) ... #end
>     #declare FooKeyExists = defined(Fnord.Foo);

Of course that should be

    #ifdef (Fnord["Foo"]) ... #end


Post a reply to this message

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