Am 17.09.2016 um 21:05 schrieb tth:
> On 09/17/2016 07:11 PM, clipka wrote:
>> #declare MyFrobnitz = dictionary;
>> #declare MyFrobnitz.Foo = 42;
>> #declare MyFrobnitz.Bar = "FTW!";
>>
>> Need I say more?
>
> No, it's Ok for me.
But I /will/ say more:
#declare MyFrobnitz = dictionary {
.Foo = 42,
};
#declare Key = "Bar";
#declare MyFrobnitz[Key] = "FTW!";
https://github.com/POV-Ray/povray/releases/tag/v3.7.1-x.dictionary.8790989
I love it when a plan comes together.
Post a reply to this message
|