POV-Ray : Newsgroups : povray.beta-test : Strange errors with incorrect array declarations : Strange errors with incorrect array declarations Server Time
2 Nov 2024 17:21:03 EDT (-0400)
  Strange errors with incorrect array declarations  
From: Philippe Debar
Date: 24 Oct 2001 12:41:42
Message: <3bd6ef46@news.povray.org>
Some strange things with arrays :

* You can access Array[-1], which seems to be the same as Array[0]
* malloc error when trying to declare an array with a float<1 dimension_size
(not a very helpful error for a beginner)
* malloc parse error for a very wrong syntax, while trying to refer to a
valid element (eg: #declare dumbarray=array[1]; #declare
dumbarray=array[0]=14;)


File in p.b-t.b


Povingly,

Philippe


Sys info :
POV-Ray 3.5 b6
Win 2k pro sp2
Ahtlon 1.2 GHz
512 MB DDR


Post a reply to this message

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