POV-Ray : Newsgroups : povray.general : Syntax for reading a large file of numbers. : Re: Syntax for reading a large file of numbers. Server Time
31 Jul 2024 10:16:21 EDT (-0400)
  Re: Syntax for reading a large file of numbers.  
From: Tim Attwood
Date: 19 May 2007 17:25:23
Message: <464f6b43$1@news.povray.org>
#declare My_Array = array[15000];
#fopen Handle "data_non.csv" read
#local c = 0;
#while (defined(Handle))
   #read (Handle, Value)
   #declare My_Array[c]=Value;
   #local c=c+1;
#end
#fclose Handle


Post a reply to this message

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