|
|
I'm not sure if its a Typo or not:
In 6.1.8.1 concerned with Arrays, the definition says
#declare IDENTIFIER = array[ INT ][ [ INT ] ]...[ARRAY_INITIALIZER] |
#local IDENTIFIER = array[ INT ][ [ INT ] ]...[ARRAY_INITIALIZER]
The second [ [ INT ] ] bugs me. I know that its optional,
but it looks kinda strange, as if you should do something
like
#declare Test_Array=array[4][[4]]
I know that an example later on shows the correct use, but I just
got irritated, and perhaps someone new might be too!
So, nothing important really.
--
Tim Nikias
Homepage: http://www.digitaltwilight.de/no_lights/index.html
Post a reply to this message
|
|
|
|
"Tim Nikias" <tim### [at] gmxde> wrote in message news:3CA490FF.EE8866FD@gmx.de...
> I'm not sure if its a Typo or not:
>
> In 6.1.8.1 concerned with Arrays, the definition says
> #declare IDENTIFIER = array[ INT ][ [ INT ] ]...[ARRAY_INITIALIZER] |
> #local IDENTIFIER = array[ INT ][ [ INT ] ]...[ARRAY_INITIALIZER]
>
> The second [ [ INT ] ] bugs me. I know that its optional,
> but it looks kinda strange, as if you should do something
> like
> #declare Test_Array=array[4][[4]]
>
> I know that an example later on shows the correct use, but I just
> got irritated, and perhaps someone new might be too!
>
> So, nothing important really.
Difficult because one set of brackets is required and the other is indicating an
optional part. The syntax in section 10.1.3.6
is somewhat wordier but more concise, perhaps.
Robert
Post a reply to this message
|
|