POV-Ray : Newsgroups : povray.beta-test : array size Server Time
4 Nov 2024 17:32:43 EST (-0500)
  array size (Message 1 to 2 of 2)  
From:
Subject: array size
Date: 12 Oct 2001 10:17:53
Message: <Xns9138A5CA83B91wulfhueskendigitalde@204.213.191.226>
I'm not sure if this has been posted before...

Pov Ray 3.5 beta 5 crashes while reading/initializing an array with more 
than  about 750 elements ("program terminated with an error..."). This 
doesn't happen with Pov Ray 3.1g.

My system is: Win2000 SP2 / Dell Dimension 8100 / P4 1,3Ghz / 256 MB RAM

The code is as follows:

#version 3.5;

#include "colors.inc"

global_settings {
  assumed_gamma 1.0
}

// ----------------------------------------

light_source {
             <0, 0, 0>            
             color rgb <1, 1, 1>  
             translate <-30, 30, -30>
             }

// ----------------------------------------

//reading of values from input.txt to an array

#declare data = array[780];
#fopen input "input.txt" read
#declare I = 1;

#while (defined(input))
       #declare data[I] = 0;
       #read (input, data[I])
       #declare I = I+1;  
#end


Post a reply to this message

From: Thorsten Froehlich
Subject: Re: array size
Date: 12 Oct 2001 10:26:24
Message: <3bc6fd90@news.povray.org>
In article <Xns### [at] 204213191226> , "Wulf 


> I'm not sure if this has been posted before...

Several times.  Get beta 6, please.


    Thorsten


____________________________________________________
Thorsten Froehlich, Duisburg, Germany
e-mail: tho### [at] trfde

Visit POV-Ray on the web: http://mac.povray.org


Post a reply to this message

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