POV-Ray : Newsgroups : povray.general : funky array thing : funky array thing Server Time
27 Sep 2024 01:14:22 EDT (-0400)
  funky array thing  
From: Leroy
Date: 22 Aug 2024 15:55:00
Message: <web.66c79364b339270949d5a218f712fc00@news.povray.org>
I have POV version 3.7.0.msvgc10.win64
While editing a file I pasted a set of numbers into an array from a text file.

Like this :: #declare Tab=array[4]{ 1 2 3 4 }

I was going to go back and put commas in but forgot and ran it anyway and It
still worked!

So I tried ::
#declare Sf=array[4]{"a" "b" "c" "d"}
#declare Sf=array[4]{<1,2,3> <1,2,3> <1,2,3> <1,2,3>}

They  also worked !

Learn something new every day!
Have Fun!


Post a reply to this message

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