POV-Ray : Newsgroups : povray.documentation.inbuilt : dictionary container types : Re: dictionary container types Server Time: 20 Jul 2019 23:57:17 GMT
  Re: dictionary container types  
From: clipka
Date: 20 Nov 2016 00:34:31
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-2008 Persistence of Vision Raytracer Pty. Ltd.