POV-Ray : Newsgroups : povray.documentation.inbuilt : Reference:Arrays note about 40 character identifier limit. : Re: Reference:Arrays note about 40 character identifier limit. Server Time
23 Apr 2024 17:30:28 EDT (-0400)
  Re: Reference:Arrays note about 40 character identifier limit.  
From: Jim Holsenback
Date: 13 Dec 2016 11:52:10
Message: <5850273a$1@news.povray.org>
On 12/12/2016 1:05 PM, clipka wrote:
> Am 12.12.2016 um 13:38 schrieb Jim Holsenback:
>> On 12/12/2016 6:44 AM, William F Pokorny wrote:
>>> Ref:
>>>
>>> http://wiki.povray.org/content/Reference:Array
>>>
>>> I believe identifiers can be longer than 40 characters & that we've
>>> recently added such notes elsewhere. Perhaps we need not mention the
>>> identifier limit specifically for arrays should we want to avoid another
>>> change note.
>>
>> i've already addressed that here:
>> http://wiki.povray.org/content/Reference_Talk:Array
>>
>> but haven't moved it over yet ... was waiting for some kind of heads up
>> that the other feature add/change was going to make it into release branch
>
> Then let it hereby be known that flexible-size arrays, mixed-type arrays
> and dictionaries have joined the master branch on November 25th. ;)
>
> Also included are two pseudo-dictionaries, `local` and `global`,
> representing the "most local" identifiers and the global identifiers,
> respectively. For example:
>
>     #declare local.Foo = 4711;
>     #undef global.Foo;
>
> will declare a local variable named "Foo", and undefine any global
> variable of the same name, respectively.
>
> *NOTE*: These pseudo-dictionaries *REPLACE* the `local()` and `global()`
> pseudo-functions, which are currently mentioned in the tutorial's "New
> features" section, the "Identifier Name Collisions" section in the
> reference page on #declare and #local, and in the "Optional Parameters"
> section in the reference page on macros.
>

ok so some clean up and one add ... local and global are /still/ keywords?


Post a reply to this message

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