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
19 Apr 2024 14:15:59 EDT (-0400)
  Re: Reference:Arrays note about 40 character identifier limit.  
From: Jim Holsenback
Date: 13 Dec 2016 12:26:11
Message: <58502f33$1@news.povray.org>
On 12/13/2016 11:52 AM, Jim Holsenback wrote:
> 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?

one more question ... id name collisions it's just a delete but optional 
params part i see in 1st note reference to /local/ should the link now 
point to the add i'll be doing to the array page? what about example 
just below the note ... still valid example?


Post a reply to this message

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