POV-Ray : Newsgroups : povray.pov4.discussion.general : #declare vs. #define Server Time
3 Aug 2021 14:16:57 EDT (-0400)
  #declare vs. #define (Message 1 to 2 of 2)  
From: Woody
Subject: #declare vs. #define
Date: 12 Nov 2014 22:10:01
Message: <web.5464209b65c3310495390fa60@news.povray.org>
I realize this may be a nitpicky quirk of little or no consequence, but its been
bothering me that we use the #declare but we always refer to it as #define like
when calling #ifndef or #undef.

Can't we rename #declare to #define or rename #ifndef and #undef to #ifndec and
#undec?


Post a reply to this message

From: Bald Eagle
Subject: Re: #declare vs. #define
Date: 12 Nov 2014 23:40:01
Message: <web.54643527f4e8651b5e7df57c0@news.povray.org>
"Woody" <nomail@nomail> wrote:
> I realize this may be a nitpicky quirk of little or no consequence, but its been
> bothering me that we use the #declare but we always refer to it as #define like
> when calling #ifndef or #undef.
>
> Can't we rename #declare to #define or rename #ifndef and #undef to #ifndec and
> #undec?

I had lots of issues with "declare" because I kept trying to use "define" or
some other synonym...

I was just thinking about this the other day, and being able to construct
aliases for ANY command, like in a Unix shell, would be pretty useful I think.


Post a reply to this message

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