POV-Ray : Newsgroups : povray.beta-test : Strange errors with incorrect array declarations Server Time
2 Nov 2024 15:23:36 EDT (-0400)
  Strange errors with incorrect array declarations (Message 1 to 1 of 1)  
From: Philippe Debar
Subject: Strange errors with incorrect array declarations
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.