POV-Ray : Newsgroups : povray.beta-test : can't redefine identifier : Re: can't redefine identifier Server Time
2 Nov 2024 07:25:14 EDT (-0400)
  Re: can't redefine identifier  
From: Warp
Date: 3 Jan 2002 18:25:20
Message: <3c34e860@news.povray.org>
Thorsten Froehlich <tho### [at] trfde> wrote:
: The only "legal" way to redeclare a function is to undef it first.

  Wouldn't it be possible for the parser to automatically undef the function
when it's attempted to redeclare, and the declare it with the new function?

-- 
#macro N(D)#if(D>99)cylinder{M()#local D=div(D,104);M().5,2pigment{rgb M()}}
N(D)#end#end#macro M()<mod(D,13)-6mod(div(D,13)8)-3,10>#end blob{
N(11117333955)N(4254934330)N(3900569407)N(7382340)N(3358)N(970)}//  - Warp -


Post a reply to this message

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