POV-Ray : Newsgroups : povray.documentation.inbuilt : dictionary container types : Re: dictionary container types Server Time
23 Apr 2024 20:23:44 EDT (-0400)
  Re: dictionary container types  
From: Mike Horvath
Date: 22 Nov 2016 02:35:40
Message: <5833f54c$1@news.povray.org>
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-2023 Persistence of Vision Raytracer Pty. Ltd.