POV-Ray : Newsgroups : povray.programming : POV-Ray v.4 proposal : Re: POV-Ray v.4 proposal Server Time
29 Jul 2024 04:32:37 EDT (-0400)
  Re: POV-Ray v.4 proposal  
From: Margus Ramst
Date: 18 May 1999 19:45:54
Message: <3741eda2.0@news.povray.org>
Hell and damnation!!!! I could swear I read all about float functions and
arrays, and never did I see these functions. Now they're there. To think how
much trouble this would've saved me in the past...
Oh well, thank you for pointing it out.

Margus

Ron Parker wrote in message <37419412.0@news.povray.org>...
>
>No need for the #ifdef patch.  In fact, it will fail if you try to
>access past the end of the array anyway.  What you need is this,
>from the official POV 3.1:
>
>  dimension_size( ARRAY_IDENTIFIER, FLOAT ) Returns the size of a given
>  dimension of a previously declared array identifier. Dimensions are
>  numbered left-to-right starting with 1. For example if you do
>  #declare MyArray=array[6][10] then dimension_size(MyArray,2) returns
>  the value 10.
>


Post a reply to this message

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