POV-Ray : Newsgroups : povray.documentation.inbuilt : dictionary container types : Re: dictionary container types Server Time
16 Jan 2022 16:27:06 EST (-0500)
  Re: dictionary container types  
From: clipka
Date: 19 Nov 2016 19:34:31
Message: <5830ef97$1@news.povray.org>
Am 20.11.2016 um 01:10 schrieb Mike Horvath:
> On 11/19/2016 2:26 PM, clipka wrote:
>>     // alternative
>>     #declare Fnord = dictionary {
>>       .Foo: 42,
>>       .Bar: sphere { <0,0,0>, 1 }
>>     }
> 
> Will the dotted syntax allow people to use strings like ".declare" or
> ".texture"? I don't think it should.

No -- just like with variable identifiers, keywords are not allowed there.


Post a reply to this message

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