POV-Ray : Newsgroups : povray.general : printing object's identifier : Re: printing object's identifier Server Time
18 May 2024 15:38:07 EDT (-0400)
  Re: printing object's identifier  
From: jr
Date: 22 Mar 2016 09:47:51
Message: <56f14d07@news.povray.org>
hi

On 21/03/2016 09:37, clipka wrote:
> Am 21.03.2016 um 03:07 schrieb Bald Eagle:
> 
>> Although it's not explicitly stated in your post that I linked, I'm assuming I
>> can't mix strings and floats and array elements in a single "tuple-style"
>> declare.
>>
>> e.g. #declare (a, filename, MyArray[3]) = (4.2, "TestFile", <1, 2, 3>)
>>
>> or a mix of scalar and vector quantities
>>
>> #declare (g, h, i) =  (1, <3, 4, 5>, 567.89)
> 
> You're assuming wrong there in every respect :)
> 

> In this context, I guess it's worth noting that the above syntax is just
> shorthand for multiple declares; there is still no tuple data type, i.e.
> 
>     #declare MyTuple = (1,2,3);
>     #declare (a,b,c) = MyTuple;
> 
> will NOT work.
> 

do people (still) use CSV files to provide data, because I think the
syntax looks perfect for a record-at-a-time reading of such files.

jr.


Post a reply to this message

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