POV-Ray : Newsgroups : povray.newusers : Array coding problem : Re: Array coding problem Server Time
24 Apr 2024 23:59:16 EDT (-0400)
  Re: Array coding problem  
From: Bald Eagle
Date: 20 Sep 2016 12:10:01
Message: <web.57e15f33ed1fe0c7b488d9aa0@news.povray.org>
I get that error all the time - I just fiddle with the code until I get it to
stop.

This works for me on 3.7 :
(note : I changed the range of k to 0 to 3)
###################################################

  #declare R = seed(123);

#declare Col = array[7][4]
#for (j,0,6,1)
  #for (k,0,3,1)

    #declare Col[j][k] = int(2*rand(R));
  #end
#end


Post a reply to this message

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