|
|
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
|
|