POV-Ray : Newsgroups : povray.bugreports : #local 'bug' cripples usefulness : #local 'bug' cripples usefulness Server Time
28 Sep 2024 11:07:55 EDT (-0400)
  #local 'bug' cripples usefulness  
From: Philippe Debar
Date: 26 Sep 1998 07:06:29
Message: <360cbca5.0@news.povray.org>
This problem greatly decreases the value of the #local declaration: you
can't have a local identifier with a different data type from a same-named
global identifier.

e.g. you can't:

(main file) #declare anItem=4;
(include file) #local anItem="test"

This restriction should be at least signaled in the final docs...

----------------------------------------------------------------
   POV INFO
----------------------------------------------------------------
POV-Ray for Windows
Version 3.1.beta.6b.watcom.win32 [Pentium II optimised]


----------------------------------------------------------------
   SYSTEM INFO
----------------------------------------------------------------
MS Windows 95 4.00.950 B
IE 4.0 4.711712.6
Pentium Pro 233MHz
128MB RAM


Post a reply to this message

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