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
25 Apr 2024 12:17:54 EDT (-0400)
  Re: Reference:Arrays note about 40 character identifier limit.  
From: clipka
Date: 12 Dec 2016 13:05:54
Message: <584ee702$1@news.povray.org>
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.


Post a reply to this message

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