POV-Ray : Newsgroups : povray.beta-test : Can't undefine defined entry of array : Can't undefine defined entry of array Server Time
30 Jul 2024 02:15:57 EDT (-0400)
  Can't undefine defined entry of array  
From:
Date: 22 Jan 2002 04:34:11
Message: <kecq4uo1ttrfq63srouqa8sfgimk1fqhut@4ax.com>
POV 3.5 b 10.icl on PII 233 128 MB with NT 4 Sp 6

Since checking of defined pointer is possible for entries of array then
undefinig should be possible also. But I can't undefine it:

//<SDL>
#declare A=array[1][1];
#declare A[0][0]=0;
#ifdef(A[0][0])#undef A[0][0]#end
//</SDL>

Output:
#ifdef(A[0][0])#undef A[0][0] <----ERROR
Parse Error: Tried to free undefined symbol

ABX


Post a reply to this message

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