POV-Ray : Newsgroups : povray.general : Equiation needed Server Time
19 Sep 2025 06:45:24 EDT (-0400)
  Equiation needed (Message 46 to 48 of 48)  
<<< Previous 10 Messages Goto Initial 10 Messages
From: kurtz le pirate
Subject: POV SDL
Date: 2 Aug 2025 10:54:32
Message: <688e26a8@news.povray.org>
Hello,

I've embarked on a rather crazy project: to bring together all the 
macros I've written over the decades. I hesitated over the choice of 
language and finally opted for Perl, but that's not the point.

To recognize the start of a macro, it's easy with the #macro keywords.
But, for the ending, I have to "count" the #end.
I've identified these structures that terminate with #end :

   #if - #ifdef - #ifndef - #switch - #while - #for


Are there any others I've forgotten?


Merci d'avance

-- 
kurtz le pirate
compagnie de la banquise


Post a reply to this message

From: jr
Subject: Re: POV SDL
Date: 2 Aug 2025 11:15:00
Message: <web.688e2b3e71cde12f7b8494536cde94f1@news.povray.org>
hi,

kurtz le pirate <kur### [at] freefr> wrote:
> Hello,
>
> I've embarked on a rather crazy project: to bring together all the
> macros I've written over the decades. I hesitated over the choice of
> language and finally opted for Perl, but that's not the point.
>
> To recognize the start of a macro, it's easy with the #macro keywords.
> But, for the ending, I have to "count" the #end.
> I've identified these structures that terminate with #end :
>
>    #if - #ifdef - #ifndef - #switch - #while - #for
>
> Are there any others I've forgotten?

#else, #elseif.


regards, jr.


Post a reply to this message

From: jr
Subject: Re: POV SDL
Date: 2 Aug 2025 11:20:00
Message: <web.688e2c5271cde12f7b8494536cde94f1@news.povray.org>
"jr" <cre### [at] gmailcom> wrote:
> ...
> > Are there any others I've forgotten?
> #else, #elseif.

</sigh>  ignore.


Post a reply to this message

<<< Previous 10 Messages Goto Initial 10 Messages

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