POV-Ray : Newsgroups : povray.documentation.inbuilt : dictionary container types : Re: dictionary container types Server Time: 21 Jul 2019 00:10:35 GMT
  Re: dictionary container types  
From: Mike Horvath
Date: 22 Nov 2016 07:35:40
On 11/19/2016 7:34 PM, clipka wrote:
> 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.
>

I still think the dot is superfluous.


Mike


Post a reply to this message

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